diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-03-20 23:05:44 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-03-20 23:05:44 +0000 |
commit | 457e138fffa060e6199c53ec929cd97dfb42464c (patch) | |
tree | 9ecde4be891dd964cb61c7b84788b22b99defbe3 /apps/plugin.c | |
parent | 3b8dcf5ebbc1e8f53ff17eb769e553cf01a63655 (diff) | |
download | rockbox-457e138fffa060e6199c53ec929cd97dfb42464c.tar.gz rockbox-457e138fffa060e6199c53ec929cd97dfb42464c.zip |
Added new pcm playback api to the plugin api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6217 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
44 | #include "mp3data.h" | 44 | #include "mp3data.h" |
45 | #include "powermgmt.h" | 45 | #include "powermgmt.h" |
46 | #include "system.h" | 46 | #include "system.h" |
47 | #include "pcm_playback.h" | ||
47 | 48 | ||
48 | #ifdef HAVE_LCD_BITMAP | 49 | #ifdef HAVE_LCD_BITMAP |
49 | #include "peakmeter.h" | 50 | #include "peakmeter.h" |
@@ -268,7 +269,9 @@ static const struct plugin_api rockbox_api = { | |||
268 | #if CONFIG_KEYPAD == IRIVER_H100_PAD | 269 | #if CONFIG_KEYPAD == IRIVER_H100_PAD |
269 | button_hold, | 270 | button_hold, |
270 | #endif | 271 | #endif |
271 | 272 | pcm_play_data, | |
273 | pcm_play_stop, | ||
274 | pcm_is_playing, | ||
272 | }; | 275 | }; |
273 | 276 | ||
274 | int plugin_load(const char* plugin, void* parameter) | 277 | int plugin_load(const char* plugin, void* parameter) |