diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c index d784180e77..e75c3fe7c6 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | |||
@@ -219,11 +219,3 @@ void fiq_handler(void) | |||
219 | 219 | ||
220 | pcm_play_dma_status_callback(PCM_DMAST_STARTED); | 220 | pcm_play_dma_status_callback(PCM_DMAST_STARTED); |
221 | } | 221 | } |
222 | |||
223 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
224 | { | ||
225 | unsigned long addr = DCSRC2; | ||
226 | int cnt = DSTAT2; | ||
227 | *count = (cnt & 0xFFFFF) >> 1; | ||
228 | return (void *)((addr + 2) & ~3); | ||
229 | } | ||