diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-24 17:16:33 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-24 17:16:33 +0000 |
commit | 19afbf4892f6991be149b522f708eb13e9790d89 (patch) | |
tree | 2eefec7019c52c391f15843c5d15cbc306dc7131 /firmware/target/arm | |
parent | d76a9316fbb1cc79e5672562282a419320e0441c (diff) |
Really cleanup remaining r26253 yellow (hopefully).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/pcm-as3525.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c index a2e3cfbf9f..22f073e548 100644 --- a/firmware/target/arm/as3525/pcm-as3525.c +++ b/firmware/target/arm/as3525/pcm-as3525.c @@ -74,7 +74,7 @@ static void dma_callback(void) { if(!dma_size) { - pcm_play_get_more_callback(&dma_start_addr, &dma_size); + pcm_play_get_more_callback((void **)&dma_start_addr, &dma_size); if (!dma_size) return; @@ -270,13 +270,14 @@ static void rec_dma_callback(void) if(!rec_dma_size) { - pcm_rec_more_ready_callback(0, &rec_dma_start_addr, &rec_dma_size); + pcm_rec_more_ready_callback(0, (void **)&rec_dma_start_addr, + &rec_dma_size); if(rec_dma_size != 0) { dump_dcache_range(rec_dma_start_addr, rec_dma_size); #if CONFIG_CPU == AS3525 - mono_samples = AS3525_UNCACHED_ADDR(rec_dma_start_addr); + mono_samples = AS3525_UNCACHED_ADDR((int16_t*)rec_dma_start_addr); #endif rec_dma_start(); } |