1
0
Fork 0
forked from len0rd/rockbox

Even more correct conditions for mpeg_get_last_header()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6343 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-04-25 08:59:19 +00:00
parent 78c829f576
commit ef73c2ed36
2 changed files with 6 additions and 2 deletions

View file

@ -226,8 +226,10 @@ static const struct plugin_api rockbox_api = {
audio_current_track, audio_current_track,
audio_flush_and_reload_tracks, audio_flush_and_reload_tracks,
audio_get_file_pos, audio_get_file_pos,
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) #if !defined(SIMULATOR) && (CONFIG_HWCODEC != MASNONE)
mpeg_get_last_header, mpeg_get_last_header,
#endif
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
sound_set_pitch, sound_set_pitch,
#endif #endif

View file

@ -271,8 +271,10 @@ struct plugin_api {
struct mp3entry* (*audio_current_track)(void); struct mp3entry* (*audio_current_track)(void);
void (*audio_flush_and_reload_tracks)(void); void (*audio_flush_and_reload_tracks)(void);
int (*audio_get_file_pos)(void); int (*audio_get_file_pos)(void);
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) #if !defined(SIMULATOR) && (CONFIG_HWCODEC != MASNONE)
unsigned long (*mpeg_get_last_header)(void); unsigned long (*mpeg_get_last_header)(void);
#endif
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
void (*sound_set_pitch)(int pitch); void (*sound_set_pitch)(int pitch);
#endif #endif