From e532714d1f76ccdbd1dcfeb3b4579d324cb519c1 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 25 Jul 2021 14:03:44 +0100 Subject: pcm: Remove unused function pcm_play_dma_get_peak_buffer() Change-Id: Ifd20fb14a22489cdb99154c01f69809a1e70d0c5 --- firmware/target/hosted/pcm-alsa.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'firmware/target/hosted/pcm-alsa.c') diff --git a/firmware/target/hosted/pcm-alsa.c b/firmware/target/hosted/pcm-alsa.c index 81c0a19a45..13ebbbcbeb 100644 --- a/firmware/target/hosted/pcm-alsa.c +++ b/firmware/target/hosted/pcm-alsa.c @@ -775,13 +775,6 @@ void pcm_play_dma_start(const void *addr, size_t size) } } -const void * pcm_play_dma_get_peak_buffer(int *count) -{ - uintptr_t addr = (uintptr_t)pcm_data; - *count = pcm_size / 4; - return (void *)((addr + 3) & ~3); -} - void pcm_play_dma_postinit(void) { audiohw_postinit(); -- cgit v1.2.3