summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-03-31 06:50:59 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-03-31 06:50:59 +0000
commite996e2ff912dfe5e6c5e58c254bd9948752c3bcb (patch)
tree46573b7fd98effaf9e628e94fe5b91f715e55910
parent9253d4d5de1700f9d51c4193844763538a9ac323 (diff)
downloadrockbox-e996e2ff912dfe5e6c5e58c254bd9948752c3bcb.tar.gz
rockbox-e996e2ff912dfe5e6c5e58c254bd9948752c3bcb.zip
Added pcm_play_pause() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6237 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugin.c3
-rw-r--r--apps/plugin.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index d21e8acf60..35f03703ba 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -276,7 +276,8 @@ static const struct plugin_api rockbox_api = {
276 pcm_play_stop, 276 pcm_play_stop,
277 pcm_set_frequency, 277 pcm_set_frequency,
278 pcm_is_playing, 278 pcm_is_playing,
279 pcm_set_volume 279 pcm_set_volume,
280 pcm_play_pause,
280#endif 281#endif
281}; 282};
282 283
diff --git a/apps/plugin.h b/apps/plugin.h
index 4e5a380f47..0707393b59 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -325,6 +325,7 @@ struct plugin_api {
325 void (*pcm_set_frequency)(unsigned int frequency); 325 void (*pcm_set_frequency)(unsigned int frequency);
326 bool (*pcm_is_playing)(void); 326 bool (*pcm_is_playing)(void);
327 void (*pcm_set_volume)(int volume); 327 void (*pcm_set_volume)(int volume);
328 void (*pcm_play_pause)(bool play);
328#endif 329#endif
329}; 330};
330 331