mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:29:30 +02:00
cleanup
This commit is contained in:
parent
f12ac3b036
commit
24f0f37eb9
1 changed files with 0 additions and 7 deletions
|
@ -806,17 +806,10 @@ void Audio::processReceivedAudio(const QByteArray& audioByteArray) {
|
||||||
|
|
||||||
// Advance the start point for the next packet of audio to arrive
|
// Advance the start point for the next packet of audio to arrive
|
||||||
_spatialAudioStart += numNetworkOutputSamples / _desiredOutputFormat.channelCount();
|
_spatialAudioStart += numNetworkOutputSamples / _desiredOutputFormat.channelCount();
|
||||||
|
|
||||||
// Advance the read position by the same amount
|
|
||||||
//ringBuffer.shiftReadPosition(numNetworkOutputSamples);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// copy the samples we'll resample from the ring buffer - this also
|
// copy the samples we'll resample from the ring buffer - this also
|
||||||
// pushes the read pointer of the ring buffer forwards
|
// pushes the read pointer of the ring buffer forwards
|
||||||
_ringBuffer.readSamples(ringBufferSamples, numNetworkOutputSamples);
|
_ringBuffer.readSamples(ringBufferSamples, numNetworkOutputSamples);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// copy the packet from the RB to the output
|
// copy the packet from the RB to the output
|
||||||
|
|
Loading…
Reference in a new issue