We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08d964d + 2c179ad commit dd81542Copy full SHA for dd81542
ports/raspberrypi/audio_dma.c
@@ -248,9 +248,9 @@ audio_dma_result audio_dma_setup_playback(
248
249
if (!single_buffer) {
250
#ifdef PICO_RP2350
251
- dma->buffer[1] = (uint8_t *)port_realloc(dma->buffer[0], max_buffer_length, true);
+ dma->buffer[1] = (uint8_t *)port_realloc(dma->buffer[1], max_buffer_length, true);
252
#else
253
- dma->buffer[1] = (uint8_t *)m_realloc(dma->buffer[0],
+ dma->buffer[1] = (uint8_t *)m_realloc(dma->buffer[1],
254
#if MICROPY_MALLOC_USES_ALLOCATED_SIZE
255
dma->buffer_length[1], // Old size
256
#endif
0 commit comments