Skip to content

Commit

Permalink
pico: reduce i2s buffer size
Browse files Browse the repository at this point in the history
Save some RAM
  • Loading branch information
Daft-Freak committed Sep 26, 2023
1 parent d8b3c10 commit 1b5d026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 32blit-pico/audio_i2s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void init_audio() {
.sample_stride = 2
};

struct audio_buffer_pool *producer_pool = audio_new_producer_pool(&producer_format, 4, 441);
struct audio_buffer_pool *producer_pool = audio_new_producer_pool(&producer_format, 4, 256);
const struct audio_format *output_format;

uint8_t dma_channel = dma_claim_unused_channel(true);
Expand Down

0 comments on commit 1b5d026

Please sign in to comment.