diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-12 14:31:12 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-12 14:31:12 +0000 |
commit | cc7457e788141b9570b65eda428181c139879f63 (patch) | |
tree | 98fdbfbfe9e55d1d4e97203b1215fd745e630750 /uisimulator/sdl | |
parent | 4d04132c76700b30708bf99fc0ef664e8bb0b58d (diff) | |
download | rockbox-cc7457e788141b9570b65eda428181c139879f63.tar.gz rockbox-cc7457e788141b9570b65eda428181c139879f63.zip |
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
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r-- | uisimulator/sdl/sound.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) | |||
282 | { | 282 | { |
283 | } | 283 | } |
284 | 284 | ||
285 | void pcm_record_more(void *start, size_t size) | 285 | void pcm_rec_dma_record_more(void *start, size_t size) |
286 | { | 286 | { |
287 | (void)start; | 287 | (void)start; |
288 | (void)size; | 288 | (void)size; |
@@ -293,9 +293,8 @@ unsigned long pcm_rec_status(void) | |||
293 | return 0; | 293 | return 0; |
294 | } | 294 | } |
295 | 295 | ||
296 | const void * pcm_rec_dma_get_peak_buffer(int *count) | 296 | const void * pcm_rec_dma_get_peak_buffer(void) |
297 | { | 297 | { |
298 | *count = 0; | ||
299 | return NULL; | 298 | return NULL; |
300 | } | 299 | } |
301 | 300 | ||