diff options
Diffstat (limited to 'firmware/target/arm/pp/pcm-pp.c')
-rw-r--r-- | firmware/target/arm/pp/pcm-pp.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/target/arm/pp/pcm-pp.c b/firmware/target/arm/pp/pcm-pp.c index 8434123a92..0d61eb44ff 100644 --- a/firmware/target/arm/pp/pcm-pp.c +++ b/firmware/target/arm/pp/pcm-pp.c | |||
@@ -512,19 +512,6 @@ void pcm_play_dma_postinit(void) | |||
512 | audiohw_postinit(); | 512 | audiohw_postinit(); |
513 | } | 513 | } |
514 | 514 | ||
515 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
516 | { | ||
517 | unsigned long addr, size; | ||
518 | |||
519 | int status = disable_fiq_save(); | ||
520 | addr = dma_play_data.addr; | ||
521 | size = dma_play_data.size; | ||
522 | restore_fiq(status); | ||
523 | |||
524 | *count = size >> 2; | ||
525 | return (void *)((addr + 2) & ~3); | ||
526 | } | ||
527 | |||
528 | /**************************************************************************** | 515 | /**************************************************************************** |
529 | ** Recording DMA transfer | 516 | ** Recording DMA transfer |
530 | **/ | 517 | **/ |