summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-01-30 22:30:40 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-01-30 22:30:40 +0000
commit95298a955846d59a7758076a56df12f9996fc0bd (patch)
treed9fba4fab3fa32bfefbeba6129b35959c5c6550b /firmware/export
parent41354a85d9e0240121ad709ccbf704cf50c8addc (diff)
mp3 playback "engine" now in plugin API, rocks can make sound
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4285 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/mp3_playback.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/mp3_playback.h b/firmware/export/mp3_playback.h
index 3c190f2691..15f53472bc 100644
--- a/firmware/export/mp3_playback.h
+++ b/firmware/export/mp3_playback.h
@@ -46,7 +46,7 @@ void mpeg_set_pitch(int percent);
void demand_irq_enable(bool on);
#endif
-/* new functions, to be exported to plugin API */
+/* new functions, exported to plugin API */
void mp3_play_init(void);
void mp3_play_data(unsigned char* start, int size,
void (*get_more)(unsigned char** start, int* size) /* callback fn */
@@ -55,6 +55,7 @@ void mp3_play_pause(bool play);
void mp3_play_stop(void);
long mp3_get_playtime(void);
void mp3_reset_playtime(void);
+bool mp3_is_playing(void);
#define SOUND_VOLUME 0