From cc7457e788141b9570b65eda428181c139879f63 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 12 May 2010 14:31:12 +0000 Subject: Fix r25970 red and yellow *and* a bug uncovered for pp5002 where pcm_play_dma_start wasn't actually initializing the dma_play_data with the first buffer info (must've happened during pp502x DMA conversion). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25971 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/sound.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c index a370ed83f5..dd5e4345aa 100644 --- a/uisimulator/sdl/sound.c +++ b/uisimulator/sdl/sound.c @@ -282,7 +282,7 @@ void pcm_rec_dma_stop(void) { } -void pcm_record_more(void *start, size_t size) +void pcm_rec_dma_record_more(void *start, size_t size) { (void)start; (void)size; @@ -293,9 +293,8 @@ unsigned long pcm_rec_status(void) return 0; } -const void * pcm_rec_dma_get_peak_buffer(int *count) +const void * pcm_rec_dma_get_peak_buffer(void) { - *count = 0; return NULL; } -- cgit v1.2.3