summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-24 17:16:33 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-24 17:16:33 +0000
commit19afbf4892f6991be149b522f708eb13e9790d89 (patch)
tree2eefec7019c52c391f15843c5d15cbc306dc7131
parentd76a9316fbb1cc79e5672562282a419320e0441c (diff)
downloadrockbox-19afbf4892f6991be149b522f708eb13e9790d89.tar.gz
rockbox-19afbf4892f6991be149b522f708eb13e9790d89.tar.bz2
rockbox-19afbf4892f6991be149b522f708eb13e9790d89.zip
Really cleanup remaining r26253 yellow (hopefully).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26256 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c7
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();
}