Skip to content

Commit 53a856b

Browse files
authored
Merge pull request #10282 from relic-se/audio_dma_duplicate_realloc
Remove duplicate `port_realloc` call on double-buffered audio dma
2 parents bcf37e0 + 95123af commit 53a856b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ports/raspberrypi/audio_dma.c

Lines changed: 0 additions & 1 deletion
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)