git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-03-11 09:38:12 +00:00
parent c8480433bc
commit dae698cad4
2 changed files with 6 additions and 2 deletions

View file

@ -292,8 +292,10 @@ static const struct plugin_api rockbox_api = {
pcm_set_frequency,
pcm_is_playing,
pcm_play_pause,
pcm_calculate_peaks,
#endif
#endif
#if CONFIG_CODEC == SWCODEC
pcm_calculate_peaks,
#endif
/* playback control */

View file

@ -346,9 +346,11 @@ struct plugin_api {
void (*pcm_set_frequency)(unsigned int frequency);
bool (*pcm_is_playing)(void);
void (*pcm_play_pause)(bool play);
void (*pcm_calculate_peaks)(int *left, int *right);
#endif
#endif /* !SIMULATOR */
#if CONFIG_CODEC == SWCODEC
void (*pcm_calculate_peaks)(int *left, int *right);
#endif
/* playback control */
void (*PREFIX(audio_play))(long offset);