diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-25 14:03:44 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-25 14:07:41 +0000 |
commit | e532714d1f76ccdbd1dcfeb3b4579d324cb519c1 (patch) | |
tree | 588252314fd7910c49b60cece106d2c23e6fcef6 /firmware/target/arm/s5l8700/pcm-s5l8700.c | |
parent | 77ec7522485c0bf1f48669d6eca0d09366c3bbd7 (diff) | |
download | rockbox-e532714d1f76ccdbd1dcfeb3b4579d324cb519c1.tar.gz rockbox-e532714d1f76ccdbd1dcfeb3b4579d324cb519c1.zip |
pcm: Remove unused function pcm_play_dma_get_peak_buffer()
Change-Id: Ifd20fb14a22489cdb99154c01f69809a1e70d0c5
Diffstat (limited to 'firmware/target/arm/s5l8700/pcm-s5l8700.c')
-rw-r--r-- | firmware/target/arm/s5l8700/pcm-s5l8700.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/arm/s5l8700/pcm-s5l8700.c b/firmware/target/arm/s5l8700/pcm-s5l8700.c index 050e14451d..c7b6ed9a03 100644 --- a/firmware/target/arm/s5l8700/pcm-s5l8700.c +++ b/firmware/target/arm/s5l8700/pcm-s5l8700.c | |||
@@ -262,12 +262,6 @@ void pcm_dma_apply_settings(void) | |||
262 | pcm_dma_set_freq(pcm_fsel); | 262 | pcm_dma_set_freq(pcm_fsel); |
263 | } | 263 | } |
264 | 264 | ||
265 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
266 | { | ||
267 | *count = DMACTCNT0 >> 1; | ||
268 | return (void *)(((DMACADDR0 + 2) & ~3) | 0x40000000); | ||
269 | } | ||
270 | |||
271 | #ifdef HAVE_PCM_DMA_ADDRESS | 265 | #ifdef HAVE_PCM_DMA_ADDRESS |
272 | void * pcm_dma_addr(void *addr) | 266 | void * pcm_dma_addr(void *addr) |
273 | { | 267 | { |