mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 01:04:06 +02:00
suppress useless audio debug
This commit is contained in:
parent
0105029d9c
commit
6f37bb54f8
1 changed files with 0 additions and 2 deletions
|
@ -80,13 +80,11 @@ int PositionalAudioRingBuffer::parsePositionalData(const QByteArray& positionalB
|
|||
bool PositionalAudioRingBuffer::shouldBeAddedToMix(int numJitterBufferSamples) {
|
||||
if (!isNotStarvedOrHasMinimumSamples(NETWORK_BUFFER_LENGTH_SAMPLES_PER_CHANNEL + numJitterBufferSamples)) {
|
||||
if (_shouldOutputStarveDebug) {
|
||||
qDebug() << "Starved and do not have minimum samples to start. Buffer held back.";
|
||||
_shouldOutputStarveDebug = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
} else if (samplesAvailable() < NETWORK_BUFFER_LENGTH_SAMPLES_PER_CHANNEL) {
|
||||
qDebug() << "Do not have number of samples needed for interval. Buffer starved.";
|
||||
_isStarved = true;
|
||||
|
||||
// reset our _shouldOutputStarveDebug to true so the next is printed
|
||||
|
|
Loading…
Reference in a new issue