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) } } -const void * pcm_play_dma_get_peak_buffer(int *count) -{ - uint32_t addr; - - int old = disable_irq_save(); - addr = HDMA_CSRC0; - *count = ((HDMA_CCNT0 & 0xffff)<<2); - restore_interrupt(old); - - return (void*)addr; -} - /**************************************************************************** ** Recording DMA transfer **/ |