From f24cfebe88eb36c22bcfdf230e7941e2c0f72111 Mon Sep 17 00:00:00 2001 From: Gabriel Calero Date: Tue, 24 Jul 2018 14:57:48 -0300 Subject: [PATCH] Revert "Add logs to debug. Revert later" This reverts commit 3c49e7783c767d60e5e6e365adb645bc2e6197c8. --- libraries/audio-client/src/AudioClient.cpp | 1 - libraries/audio/src/InboundAudioStream.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/libraries/audio-client/src/AudioClient.cpp b/libraries/audio-client/src/AudioClient.cpp index fa44367d47..c57360b09f 100644 --- a/libraries/audio-client/src/AudioClient.cpp +++ b/libraries/audio-client/src/AudioClient.cpp @@ -1639,7 +1639,6 @@ void AudioClient::audioInputStateChanged(QAudio::State state) { void AudioClient::checkInputTimeout() { #if defined(Q_OS_ANDROID) if (_audioInput && _inputReadsSinceLastCheck < MIN_READS_TO_CONSIDER_INPUT_ALIVE) { - qDebug() << "[CHOPPY-AUDIO] " << _inputReadsSinceLastCheck << " < MIN_READS_TO_CONSIDER_INPUT_ALIVE"; _audioInput->stop(); } else { _inputReadsSinceLastCheck = 0; diff --git a/libraries/audio/src/InboundAudioStream.cpp b/libraries/audio/src/InboundAudioStream.cpp index cf4ad25f1b..7645a674e4 100644 --- a/libraries/audio/src/InboundAudioStream.cpp +++ b/libraries/audio/src/InboundAudioStream.cpp @@ -138,7 +138,6 @@ int InboundAudioStream::parseData(ReceivedMessage& message) { // handle this packet based on its arrival status. switch (arrivalInfo._status) { case SequenceNumberStats::Unreasonable: { - qDebug() << "[CHOPPY-AUDIO] Unreasonable lostAudioData"; lostAudioData(1); break; } @@ -148,7 +147,6 @@ int InboundAudioStream::parseData(ReceivedMessage& message) { // also result in allowing the codec to interpolate lost data. Then // fall through to the "on time" logic to actually handle this packet int packetsDropped = arrivalInfo._seqDiffFromExpected; - qDebug() << "[CHOPPY-AUDIO] Early lostAudioData " << packetsDropped; lostAudioData(packetsDropped); // fall through to OnTime case @@ -183,7 +181,6 @@ int InboundAudioStream::parseData(ReceivedMessage& message) { // Since the data in the stream is using a codec that we aren't prepared for, // we need to let the codec know that we don't have data for it, this will // allow the codec to interpolate missing data and produce a fade to silence. - qDebug() << "[CHOPPY-AUDIO] !pcm lostAudioData 1"; lostAudioData(1); }