Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c8480433bc
commit
dae698cad4
2 changed files with 6 additions and 2 deletions
|
@ -292,8 +292,10 @@ static const struct plugin_api rockbox_api = {
|
||||||
pcm_set_frequency,
|
pcm_set_frequency,
|
||||||
pcm_is_playing,
|
pcm_is_playing,
|
||||||
pcm_play_pause,
|
pcm_play_pause,
|
||||||
pcm_calculate_peaks,
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
|
pcm_calculate_peaks,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* playback control */
|
/* playback control */
|
||||||
|
|
|
@ -346,9 +346,11 @@ struct plugin_api {
|
||||||
void (*pcm_set_frequency)(unsigned int frequency);
|
void (*pcm_set_frequency)(unsigned int frequency);
|
||||||
bool (*pcm_is_playing)(void);
|
bool (*pcm_is_playing)(void);
|
||||||
void (*pcm_play_pause)(bool play);
|
void (*pcm_play_pause)(bool play);
|
||||||
void (*pcm_calculate_peaks)(int *left, int *right);
|
|
||||||
#endif
|
#endif
|
||||||
#endif /* !SIMULATOR */
|
#endif /* !SIMULATOR */
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
|
void (*pcm_calculate_peaks)(int *left, int *right);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* playback control */
|
/* playback control */
|
||||||
void (*PREFIX(audio_play))(long offset);
|
void (*PREFIX(audio_play))(long offset);
|
||||||
|
|
Loading…
Reference in a new issue