diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2008-03-08 07:36:56 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2008-03-08 07:36:56 +0000 |
commit | 3c41df9d1401abe3cf721b0135cdc0fb6094e722 (patch) | |
tree | 2514c6fabe117c9983d46fa64c6f8b9e3c9fecc4 /apps/playback.h | |
parent | f98f76e415931b6d7f44a448ffcef48da792e3c0 (diff) | |
download | rockbox-3c41df9d1401abe3cf721b0135cdc0fb6094e722.tar.gz rockbox-3c41df9d1401abe3cf721b0135cdc0fb6094e722.zip |
Fixed yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16551 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.h')
-rw-r--r-- | apps/playback.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/playback.h b/apps/playback.h index 13a959a0ca..14ba35cea4 100644 --- a/apps/playback.h +++ b/apps/playback.h | |||
@@ -48,15 +48,19 @@ enum PLAYBACK_EVENT_TYPE { | |||
48 | 48 | ||
49 | /* Functions */ | 49 | /* Functions */ |
50 | const char * get_codec_filename(int cod_spec); | 50 | const char * get_codec_filename(int cod_spec); |
51 | void playback_add_event(enum PLAYBACK_EVENT_TYPE type, void (*handler)); | ||
52 | void playback_remove_event(enum PLAYBACK_EVENT_TYPE type, void (*handler)); | ||
53 | void voice_wait(void); | 51 | void voice_wait(void); |
54 | 52 | ||
55 | #if CONFIG_CODEC == SWCODEC /* This #ifdef is better here than gui/gwps.c */ | 53 | #if CONFIG_CODEC == SWCODEC /* This #ifdef is better here than gui/gwps.c */ |
56 | extern void audio_next_dir(void); | 54 | extern void audio_next_dir(void); |
57 | extern void audio_prev_dir(void); | 55 | extern void audio_prev_dir(void); |
56 | void playback_add_event(enum PLAYBACK_EVENT_TYPE type, void (*handler)); | ||
57 | void playback_remove_event(enum PLAYBACK_EVENT_TYPE type, void (*handler)); | ||
58 | #else | 58 | #else |
59 | #define audio_next_dir() | 59 | /* Really, should get rid of these HWCODEC api definitions here. */ |
60 | void audio_set_track_changed_event(void (*handler)(struct mp3entry *id3)); | ||
61 | void audio_set_track_buffer_event(void (*handler)(struct mp3entry *id3)); | ||
62 | void audio_set_track_unbuffer_event(void (*handler)(struct mp3entry *id3)); | ||
63 | # define audio_next_dir() | ||
60 | #define audio_prev_dir() | 64 | #define audio_prev_dir() |
61 | #endif | 65 | #endif |
62 | 66 | ||