summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/android/pcm-android.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/android/pcm-android.c')
-rw-r--r--firmware/target/hosted/android/pcm-android.c7
1 files changed, 0 insertions, 7 deletions
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)
171 stop_method); 171 stop_method);
172} 172}
173 173
174const void * pcm_play_dma_get_peak_buffer(int *count)
175{
176 uintptr_t addr = (uintptr_t)pcm_data_start;
177 *count = pcm_data_size / 4;
178 return (void *)((addr + 3) & ~3);
179}
180
181void pcm_play_dma_init(void) 174void pcm_play_dma_init(void)
182{ 175{
183 /* in order to have background music playing after leaving the activity, 176 /* in order to have background music playing after leaving the activity,