Enable log signaling buffering threshold exceeded

It is as important as underflow logs.
This commit is contained in:
Romain Vimont 2023-03-11 15:55:44 +01:00
parent 46f6918179
commit 4db50ddbb7

View file

@ -207,10 +207,8 @@ sc_audio_player_frame_sink_push(struct sc_frame_sink *sink,
uint32_t skip_samples = buffered_samples - max_buffered_samples;
size_t skip_bytes = samples_to_bytes(ap, skip_samples);
sc_bytebuf_skip(&ap->buf, skip_bytes);
#ifndef SC_AUDIO_PLAYER_NDEBUG
LOGD("[Audio] Buffering threshold exceeded, skipping %" PRIu32
" samples", skip_samples);
#endif
}
// Number of samples added (or removed, if negative) for compensation