diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-14 21:46:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-14 21:46:07 +0000 |
commit | febb52fc037959ba8ce55091efa5bdc90475da6b (patch) | |
tree | 561e2862623fbd531d25fa5a0aa7958b6dfbffdb /uisimulator/common | |
parent | 771ed79f73734cca78a1af22d2b426c19cb5c15a (diff) |
First take at PCM playback in the X11 sim on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7147 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 5865b2c223..ae876a54fd 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -57,9 +57,10 @@ void pcm_init(void) { } +void (*sound_get_pcm)(unsigned char** start, long* size); void pcm_play_data(void (*get_more)(unsigned char** start, long* size)) { - (void)get_more; + sound_get_pcm = get_more; } /* Generic firmware stubs. */ @@ -94,7 +95,6 @@ int ata_write_sectors(IF_MV2(int drive,) FILE* f; char name[32]; - DEBUGF("Writing sector %X\n",start+i); sprintf(name,"sector%lX.bin",start+i); f=fopen(name,"w"); if (f) { |