Bad conditions for including mpeg_get_last_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6342 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e2ae4f3b4b
commit
78c829f576
2 changed files with 4 additions and 4 deletions
|
@ -226,8 +226,8 @@ 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,
|
||||||
mpeg_get_last_header,
|
|
||||||
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
|
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
|
||||||
|
mpeg_get_last_header,
|
||||||
sound_set_pitch,
|
sound_set_pitch,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,9 @@
|
||||||
#include "mpeg.h"
|
#include "mpeg.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "mp3_playback.h"
|
#include "mp3_playback.h"
|
||||||
|
#if (HWCODEC == MASNONE)
|
||||||
#include "pcm_playback.h"
|
#include "pcm_playback.h"
|
||||||
|
#endif
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "playlist.h"
|
#include "playlist.h"
|
||||||
|
@ -269,10 +271,8 @@ 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)
|
|
||||||
unsigned long (*mpeg_get_last_header)(void);
|
|
||||||
#endif
|
|
||||||
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
|
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
|
||||||
|
unsigned long (*mpeg_get_last_header)(void);
|
||||||
void (*sound_set_pitch)(int pitch);
|
void (*sound_set_pitch)(int pitch);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue