Skip to content

Commit 95123af

Browse files
committed
Remove duplicate port_realloc call on double-buffered audio dma
1 parent 492f6e9 commit 95123af

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ports/raspberrypi/audio_dma.c

-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ audio_dma_result audio_dma_setup_playback(
256256
#endif
257257
max_buffer_length);
258258
#endif
259-
dma->buffer[1] = (uint8_t *)port_realloc(dma->buffer[1], max_buffer_length, true);
260259
dma->buffer_length[1] = max_buffer_length;
261260

262261
if (dma->buffer[1] == NULL) {

0 commit comments

Comments
 (0)