diff options
Diffstat (limited to 'firmware/target/arm/rk27xx/pcm-rk27xx.c')
-rw-r--r-- | firmware/target/arm/rk27xx/pcm-rk27xx.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/firmware/target/arm/rk27xx/pcm-rk27xx.c b/firmware/target/arm/rk27xx/pcm-rk27xx.c index c0b4c45805..26e3ad87ba 100644 --- a/firmware/target/arm/rk27xx/pcm-rk27xx.c +++ b/firmware/target/arm/rk27xx/pcm-rk27xx.c | |||
@@ -263,18 +263,6 @@ void INT_HDMA(void) | |||
263 | } | 263 | } |
264 | } | 264 | } |
265 | 265 | ||
266 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
267 | { | ||
268 | uint32_t addr; | ||
269 | |||
270 | int old = disable_irq_save(); | ||
271 | addr = HDMA_CSRC0; | ||
272 | *count = ((HDMA_CCNT0 & 0xffff)<<2); | ||
273 | restore_interrupt(old); | ||
274 | |||
275 | return (void*)addr; | ||
276 | } | ||
277 | |||
278 | /**************************************************************************** | 266 | /**************************************************************************** |
279 | ** Recording DMA transfer | 267 | ** Recording DMA transfer |
280 | **/ | 268 | **/ |