diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/mini2440/pcm-mini2440.c')
-rw-r--r-- | firmware/target/arm/s3c2440/mini2440/pcm-mini2440.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/s3c2440/mini2440/pcm-mini2440.c b/firmware/target/arm/s3c2440/mini2440/pcm-mini2440.c index 9574522586..999a53e3f9 100644 --- a/firmware/target/arm/s3c2440/mini2440/pcm-mini2440.c +++ b/firmware/target/arm/s3c2440/mini2440/pcm-mini2440.c | |||
@@ -259,11 +259,3 @@ void fiq_handler(void) | |||
259 | 259 | ||
260 | pcm_play_dma_status_callback(PCM_DMAST_STARTED); | 260 | pcm_play_dma_status_callback(PCM_DMAST_STARTED); |
261 | } | 261 | } |
262 | |||
263 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
264 | { | ||
265 | unsigned long addr = DCSRC2; | ||
266 | int cnt = DSTAT2; | ||
267 | *count = (cnt & 0xFFFFF) >> 1; | ||
268 | return (void *)((addr + 2) & ~3); | ||
269 | } | ||