Skip to content

Display and control your Android device

Enable log signaling buffering threshold exceeded

Romain Vimont4db50ddbb7b8
diff --git a/app/src/audio_player.c b/app/src/audio_player.c
index 85de0620..77de0ddb 100644
--- a/app/src/audio_player.c
+++ b/app/src/audio_player.c
@@ -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