diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2005-07-13 12:48:22 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-07-13 12:48:22 +0000 |
commit | 20b3897474cfa680e33f7d03feb6644390fd2b20 (patch) | |
tree | 6f0cb7bde0b73317e62ad9131a7c81aeff00942a /uisimulator/common | |
parent | 10a680556aa690d8643516f74db471e5da8db930 (diff) | |
download | rockbox-20b3897474cfa680e33f7d03feb6644390fd2b20.tar.gz rockbox-20b3897474cfa680e33f7d03feb6644390fd2b20.zip |
Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
function calls (audiobuffer -> pcmbuf etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 3b61e2781c..5865b2c223 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -33,7 +33,36 @@ extern char having_new_lcd; +/* Stubs for PCM audio playback. */ +bool pcm_is_playing(void) +{ + return false; +} + +void pcm_play_pause(bool state) +{ + (void)state; +} + +bool pcm_is_paused(void) +{ + return false; +} + +void pcm_play_stop(void) +{ +} + +void pcm_init(void) +{ +} + +void pcm_play_data(void (*get_more)(unsigned char** start, long* size)) +{ + (void)get_more; +} +/* Generic firmware stubs. */ void backlight_on(void) { /* we could do something better here! */ |