1
0
Fork 0
forked from len0rd/rockbox

Temporary fix for the broken sim build.. till someone implements sound

on them...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6221 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-03-21 11:54:59 +00:00
parent 9bc622603c
commit 9e173d18ef
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@
#include "mp3data.h" #include "mp3data.h"
#include "powermgmt.h" #include "powermgmt.h"
#include "system.h" #include "system.h"
#if (CONFIG_HWCODEC == MASNONE) #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
#include "pcm_playback.h" #include "pcm_playback.h"
#endif #endif
@ -271,7 +271,7 @@ static const struct plugin_api rockbox_api = {
#if CONFIG_KEYPAD == IRIVER_H100_PAD #if CONFIG_KEYPAD == IRIVER_H100_PAD
button_hold, button_hold,
#endif #endif
#if (CONFIG_HWCODEC == MASNONE) #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
pcm_play_data, pcm_play_data,
pcm_play_stop, pcm_play_stop,
pcm_is_playing, pcm_is_playing,

View file

@ -317,7 +317,7 @@ struct plugin_api {
#if CONFIG_KEYPAD == IRIVER_H100_PAD #if CONFIG_KEYPAD == IRIVER_H100_PAD
bool (*button_hold)(void); bool (*button_hold)(void);
#endif #endif
#if (CONFIG_HWCODEC == MASNONE) #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
void (*pcm_play_data)(const unsigned char *start, int size, void (*pcm_play_data)(const unsigned char *start, int size,
void (*get_more)(unsigned char** start, long*size)); void (*get_more)(unsigned char** start, long*size));
void (*pcm_play_stop)(void); void (*pcm_play_stop)(void);