From c9b859ef8c6780a466c3874b30eef4b358b19066 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Sun, 23 May 2021 11:26:08 -0700 Subject: [PATCH] use visualizer for BT and AirPlay, regardless of buffer fullness --- components/squeezelite/output_i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/squeezelite/output_i2s.c b/components/squeezelite/output_i2s.c index dbc7c18a..63768e38 100644 --- a/components/squeezelite/output_i2s.c +++ b/components/squeezelite/output_i2s.c @@ -420,7 +420,7 @@ static int _i2s_write_frames(frames_t out_frames, bool silence, s32_t gainL, s32 } // don't update visu if we don't have enough data in buffer - if (silence || _buf_used(outputbuf) > outputbuf->size >> 2) { + if (silence || output.external || _buf_used(outputbuf) > outputbuf->size >> 2 ) { output_visu_export(obuf + oframes * BYTES_PER_FRAME, out_frames, output.current_sample_rate, silence, (gainL + gainR) / 2); }