summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/pcm-alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/pcm-alsa.c')
-rw-r--r--firmware/target/hosted/pcm-alsa.c7
1 files changed, 0 insertions, 7 deletions
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)
775 } 775 }
776} 776}
777 777
778const void * pcm_play_dma_get_peak_buffer(int *count)
779{
780 uintptr_t addr = (uintptr_t)pcm_data;
781 *count = pcm_size / 4;
782 return (void *)((addr + 3) & ~3);
783}
784
785void pcm_play_dma_postinit(void) 778void pcm_play_dma_postinit(void)
786{ 779{
787 audiohw_postinit(); 780 audiohw_postinit();