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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy