mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
revert back the largest capacity of the client ring buffer back to the smaller default value
This commit is contained in:
parent
2cee5992a0
commit
7c5a77ddfe
1 changed files with 7 additions and 1 deletions
|
@ -79,8 +79,14 @@ Audio::Audio(int16_t initialJitterBufferSamples, QObject* parent) :
|
||||||
_loopbackOutputDevice(NULL),
|
_loopbackOutputDevice(NULL),
|
||||||
_proceduralAudioOutput(NULL),
|
_proceduralAudioOutput(NULL),
|
||||||
_proceduralOutputDevice(NULL),
|
_proceduralOutputDevice(NULL),
|
||||||
|
|
||||||
|
// NOTE: Be very careful making changes to the initializers of these ring buffers. There is a known problem with some
|
||||||
|
// Mac audio devices that slowly introduce additional delay in the audio device because they play out audio slightly
|
||||||
|
// slower than real time (or at least the desired sample rate). If you increase the size of the ring buffer, then it
|
||||||
|
// this delay will slowly add up and the longer someone runs, they more delayed their audio will be.
|
||||||
_inputRingBuffer(0),
|
_inputRingBuffer(0),
|
||||||
_ringBuffer(NETWORK_BUFFER_LENGTH_SAMPLES_STEREO, false, 100),
|
_ringBuffer(NETWORK_BUFFER_LENGTH_SAMPLES_STEREO), // DO NOT CHANGE THIS UNLESS YOU SOLVE THE AUDIO DEVICE DRIFT PROBLEM!!!
|
||||||
|
|
||||||
_isStereoInput(false),
|
_isStereoInput(false),
|
||||||
_averagedLatency(0.0),
|
_averagedLatency(0.0),
|
||||||
_measuredJitter(0),
|
_measuredJitter(0),
|
||||||
|
|
Loading…
Reference in a new issue