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:
parent
9253d4d5de
commit
e996e2ff91
2 changed files with 3 additions and 1 deletions
|
@ -276,7 +276,8 @@ static const struct plugin_api rockbox_api = {
|
||||||
pcm_play_stop,
|
pcm_play_stop,
|
||||||
pcm_set_frequency,
|
pcm_set_frequency,
|
||||||
pcm_is_playing,
|
pcm_is_playing,
|
||||||
pcm_set_volume
|
pcm_set_volume,
|
||||||
|
pcm_play_pause,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -325,6 +325,7 @@ 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_set_volume)(int volume);
|
void (*pcm_set_volume)(int volume);
|
||||||
|
void (*pcm_play_pause)(bool play);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue