From d3bc68924c5ce7c8233ab01261d80d76f04ee09a Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Tue, 18 Feb 2025 06:32:39 -0700 Subject: [PATCH] removed logging --- lib/audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/audio.c b/lib/audio.c index 3f717d5..f1f4b3b 100644 --- a/lib/audio.c +++ b/lib/audio.c @@ -99,7 +99,7 @@ static int audio_callback(const void* input_uffer, void *output_buffer, if(ctx.buffer_cnt < (u8)samples_occured) { //samples_occured = samples_occured - ((int)samples_occured - ctx.buffer_cnt); //ctx.sq1_read_index = ctx.sq1_write_index-1; - printf("buffer underflow\n"); + //printf("buffer underflow\n"); } else { ctx.buffer_cnt -= (u8)samples_occured; ctx.sq1_read_index += (u8)samples_occured; @@ -545,7 +545,7 @@ void audio_period_tick() { ctx.sq1_write_index = (ctx.sq1_write_index + 1) % AUDIO_BUFFER_SIZE; ctx.buffer_cnt++; } else { - printf("buffer overflow\n"); + //printf("buffer overflow\n"); } }