mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Resize ringbuffer of injected stereo stream
This commit is contained in:
parent
7dc07a1c51
commit
7f4ece2be1
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ int InjectedAudioStream::parseStreamProperties(PacketType type, const QByteArray
|
|||
packetStream.skipRawData(NUM_BYTES_RFC4122_UUID);
|
||||
|
||||
packetStream >> _isStereo;
|
||||
_ringBuffer.resizeForFrameSize(isStereo() ? NETWORK_BUFFER_LENGTH_SAMPLES_STEREO : NETWORK_BUFFER_LENGTH_SAMPLES_PER_CHANNEL);
|
||||
|
||||
// pull the loopback flag and set our boolean
|
||||
uchar shouldLoopback;
|
||||
|
|
Loading…
Reference in a new issue