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/android/pcm-android.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'firmware/target/hosted/android/pcm-android.c') diff --git a/firmware/target/hosted/android/pcm-android.c b/firmware/target/hosted/android/pcm-android.c index b078f92698..c23b802b2d 100644 --- a/firmware/target/hosted/android/pcm-android.c +++ b/firmware/target/hosted/android/pcm-android.c @@ -171,13 +171,6 @@ void pcm_play_dma_stop(void) stop_method); } -const void * pcm_play_dma_get_peak_buffer(int *count) -{ - uintptr_t addr = (uintptr_t)pcm_data_start; - *count = pcm_data_size / 4; - return (void *)((addr + 3) & ~3); -} - void pcm_play_dma_init(void) { /* in order to have background music playing after leaving the activity, -- cgit v1.2.3