From e996e2ff912dfe5e6c5e58c254bd9948752c3bcb Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 31 Mar 2005 06:50:59 +0000 Subject: [PATCH] Added pcm_play_pause() to the plugin API git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6237 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 3 ++- apps/plugin.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 = { 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 4e5a380f47..0707393b59 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 };