diff options
| author | Dave Chapman <dave@dchapman.com> | 2007-01-01 13:21:19 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2007-01-01 13:21:19 +0000 |
| commit | fd8bac806b8d93ffef588474c6dd391352203a73 (patch) | |
| tree | d5762aa9cbbc303eaadbdcd627ee4c10bf5f4e28 | |
| parent | 044e793388667ac1e8de0e8b24c8f693479b0681 (diff) | |
| download | rockbox-fd8bac806b8d93ffef588474c6dd391352203a73.zip rockbox-fd8bac806b8d93ffef588474c6dd391352203a73.tar.gz rockbox-fd8bac806b8d93ffef588474c6dd391352203a73.tar.bz2 rockbox-fd8bac806b8d93ffef588474c6dd391352203a73.tar.xz | |
Export pcm_* functions in plugin API in sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11879 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/plugin.c | 2 | ||||
| -rw-r--r-- | apps/plugin.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 2fbfe34..c2b697f 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -322,6 +322,7 @@ static const struct plugin_api rockbox_api = { #if CONFIG_CODEC != SWCODEC bitswap, #endif +#endif #if CONFIG_CODEC == SWCODEC pcm_play_data, pcm_play_stop, @@ -329,7 +330,6 @@ static const struct plugin_api rockbox_api = { pcm_is_playing, pcm_play_pause, #endif -#endif #if CONFIG_CODEC == SWCODEC pcm_calculate_peaks, #endif diff --git a/apps/plugin.h b/apps/plugin.h index 6e9a131..16781de 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -418,6 +418,7 @@ struct plugin_api { #if CONFIG_CODEC != SWCODEC void (*bitswap)(unsigned char *data, int length); #endif +#endif /* !SIMULATOR */ #if CONFIG_CODEC == SWCODEC void (*pcm_play_data)(pcm_more_callback_type get_more, unsigned char* start, size_t size); @@ -426,7 +427,6 @@ struct plugin_api { bool (*pcm_is_playing)(void); void (*pcm_play_pause)(bool play); #endif -#endif /* !SIMULATOR */ #if CONFIG_CODEC == SWCODEC void (*pcm_calculate_peaks)(int *left, int *right); #endif |