summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-28 00:00:24 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-28 00:00:24 +0000
commit451dd48adc2ef29fd2f900693393cc9b9b4a849b (patch)
treee15d20e602261866617210bde007966ce9b19293 /apps/plugin.c
parent853bc3dcf85aa1284a0e5b550277c40beb7697a9 (diff)
downloadrockbox-451dd48adc2ef29fd2f900693393cc9b9b4a849b.zip
rockbox-451dd48adc2ef29fd2f900693393cc9b9b4a849b.tar.gz
rockbox-451dd48adc2ef29fd2f900693393cc9b9b4a849b.tar.bz2
rockbox-451dd48adc2ef29fd2f900693393cc9b9b4a849b.tar.xz
Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index b4239bb..ecd5025 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -44,7 +44,7 @@
#include "mp3data.h"
#include "powermgmt.h"
#include "system.h"
-#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
+#if (CONFIG_HWCODEC == MASNONE)
#include "pcm_playback.h"
#endif
@@ -271,10 +271,12 @@ static const struct plugin_api rockbox_api = {
#if CONFIG_KEYPAD == IRIVER_H100_PAD
button_hold,
#endif
-#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
- pcm_play_data,
+#if (CONFIG_HWCODEC == MASNONE)
+ pcm_play_data,
pcm_play_stop,
+ pcm_set_frequency,
pcm_is_playing,
+ pcm_set_volume
#endif
};