removed logging
This commit is contained in:
parent
87cc770aa6
commit
d3bc68924c
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user