Skip to content

Display and control your Android device

Increase buffering level smoothness

Romain Vimontedac4b8a9a4a
diff --git a/app/src/audio_player.c b/app/src/audio_player.c
index c70964b9..4552b0f7 100644
--- a/app/src/audio_player.c
+++ b/app/src/audio_player.c
@@ -417,7 +417,7 @@ sc_audio_player_frame_sink_open(struct sc_frame_sink *sink,
// Samples are produced and consumed by blocks, so the buffering must be
// smoothed to get a relatively stable value.
- sc_average_init(&ap->avg_buffering, 32);
+ sc_average_init(&ap->avg_buffering, 128);
ap->samples_since_resync = 0;
ap->received = false;