Added pcm_play_pause() to the plugin API

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6237 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-03-31 06:50:59 +00:00
parent 9253d4d5de
commit e996e2ff91
2 changed files with 3 additions and 1 deletions

View file

@ -276,7 +276,8 @@ static const struct plugin_api rockbox_api = {
pcm_play_stop,
pcm_set_frequency,
pcm_is_playing,
pcm_set_volume
pcm_set_volume,
pcm_play_pause,
#endif
};

View file

@ -325,6 +325,7 @@ struct plugin_api {
void (*pcm_set_frequency)(unsigned int frequency);
bool (*pcm_is_playing)(void);
void (*pcm_set_volume)(int volume);
void (*pcm_play_pause)(bool play);
#endif
};