We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e6f01 commit 9a0d1c2Copy full SHA for 9a0d1c2
ports/raspberrypi/audio_dma.c
@@ -243,7 +243,9 @@ audio_dma_result audio_dma_setup(
243
dma->input_register_address = input_register_address;
244
dma->swap_channel = swap_channel;
245
246
- audiosample_reset_buffer(sample, single_channel_output, audio_channel);
+ if (output_register_address) {
247
+ audiosample_reset_buffer(sample, single_channel_output, audio_channel);
248
+ }
249
250
251
bool single_buffer; // True if data fits in one single buffer.
0 commit comments