mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fixed yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16551 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f98f76e415
commit
3c41df9d14
1 changed files with 7 additions and 3 deletions
|
@ -48,15 +48,19 @@ enum PLAYBACK_EVENT_TYPE {
|
||||||
|
|
||||||
/* Functions */
|
/* Functions */
|
||||||
const char * get_codec_filename(int cod_spec);
|
const char * get_codec_filename(int cod_spec);
|
||||||
void playback_add_event(enum PLAYBACK_EVENT_TYPE type, void (*handler));
|
|
||||||
void playback_remove_event(enum PLAYBACK_EVENT_TYPE type, void (*handler));
|
|
||||||
void voice_wait(void);
|
void voice_wait(void);
|
||||||
|
|
||||||
#if CONFIG_CODEC == SWCODEC /* This #ifdef is better here than gui/gwps.c */
|
#if CONFIG_CODEC == SWCODEC /* This #ifdef is better here than gui/gwps.c */
|
||||||
extern void audio_next_dir(void);
|
extern void audio_next_dir(void);
|
||||||
extern void audio_prev_dir(void);
|
extern void audio_prev_dir(void);
|
||||||
|
void playback_add_event(enum PLAYBACK_EVENT_TYPE type, void (*handler));
|
||||||
|
void playback_remove_event(enum PLAYBACK_EVENT_TYPE type, void (*handler));
|
||||||
#else
|
#else
|
||||||
#define audio_next_dir()
|
/* Really, should get rid of these HWCODEC api definitions here. */
|
||||||
|
void audio_set_track_changed_event(void (*handler)(struct mp3entry *id3));
|
||||||
|
void audio_set_track_buffer_event(void (*handler)(struct mp3entry *id3));
|
||||||
|
void audio_set_track_unbuffer_event(void (*handler)(struct mp3entry *id3));
|
||||||
|
# define audio_next_dir()
|
||||||
#define audio_prev_dir()
|
#define audio_prev_dir()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue