3
0
Fork 0
forked from suyu/suyu

audio: Log dropping frames as trace to reduce spam.

This commit is contained in:
bunnei 2018-01-07 16:52:59 -05:00
parent 4e33b4b42f
commit bd377908d7

View file

@ -55,7 +55,7 @@ std::vector<s16> TimeStretcher::Process(size_t samples_in_queue) {
std::vector<s16> samples = GetSamples(); std::vector<s16> samples = GetSamples();
if (samples_in_queue >= DROP_FRAMES_SAMPLE_DELAY) { if (samples_in_queue >= DROP_FRAMES_SAMPLE_DELAY) {
samples.clear(); samples.clear();
LOG_DEBUG(Audio, "Dropping frames!"); LOG_TRACE(Audio, "Dropping frames!");
} }
return samples; return samples;
} }