diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-31 06:50:59 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-31 06:50:59 +0000 |
| commit | e996e2ff912dfe5e6c5e58c254bd9948752c3bcb (patch) | |
| tree | 46573b7fd98effaf9e628e94fe5b91f715e55910 /apps | |
| parent | 9253d4d5de1700f9d51c4193844763538a9ac323 (diff) | |
| download | rockbox-e996e2ff912dfe5e6c5e58c254bd9948752c3bcb.zip rockbox-e996e2ff912dfe5e6c5e58c254bd9948752c3bcb.tar.gz rockbox-e996e2ff912dfe5e6c5e58c254bd9948752c3bcb.tar.bz2 rockbox-e996e2ff912dfe5e6c5e58c254bd9948752c3bcb.tar.xz | |
Added pcm_play_pause() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6237 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugin.c | 3 | ||||
| -rw-r--r-- | apps/plugin.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index d21e8ac..35f0370 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -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 }; diff --git a/apps/plugin.h b/apps/plugin.h index 4e5a380..0707393 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -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 }; |