mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:17:43 +02:00
Merge pull request #2996 from birarda/master
add a mixer crash guard for meeting
This commit is contained in:
commit
1c8cf20ec2
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ int PositionalAudioRingBuffer::parseData(const QByteArray& packet) {
|
||||||
|
|
||||||
readBytes += sizeof(int16_t);
|
readBytes += sizeof(int16_t);
|
||||||
|
|
||||||
|
if (numSilentSamples > 0) {
|
||||||
addSilentFrame(numSilentSamples);
|
addSilentFrame(numSilentSamples);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// there is audio data to read
|
// there is audio data to read
|
||||||
readBytes += writeData(packet.data() + readBytes, packet.size() - readBytes);
|
readBytes += writeData(packet.data() + readBytes, packet.size() - readBytes);
|
||||||
|
|
Loading…
Reference in a new issue