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 };