From 457e138fffa060e6199c53ec929cd97dfb42464c Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Sun, 20 Mar 2005 23:05:44 +0000 Subject: Added new pcm playback api to the plugin api git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6217 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index e4c95cd337..a3c868514b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -44,6 +44,7 @@ #include "mp3data.h" #include "powermgmt.h" #include "system.h" +#include "pcm_playback.h" #ifdef HAVE_LCD_BITMAP #include "peakmeter.h" @@ -268,7 +269,9 @@ static const struct plugin_api rockbox_api = { #if CONFIG_KEYPAD == IRIVER_H100_PAD button_hold, #endif - + pcm_play_data, + pcm_play_stop, + pcm_is_playing, }; int plugin_load(const char* plugin, void* parameter) -- cgit v1.2.3