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 /apps/plugin.h | |
parent | 044e793388667ac1e8de0e8b24c8f693479b0681 (diff) | |
download | rockbox-fd8bac806b8d93ffef588474c6dd391352203a73.tar.gz rockbox-fd8bac806b8d93ffef588474c6dd391352203a73.zip |
Export pcm_* functions in plugin API in sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11879 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 6e9a1316d5..16781de0c1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -418,6 +418,7 @@ struct plugin_api { | |||
418 | #if CONFIG_CODEC != SWCODEC | 418 | #if CONFIG_CODEC != SWCODEC |
419 | void (*bitswap)(unsigned char *data, int length); | 419 | void (*bitswap)(unsigned char *data, int length); |
420 | #endif | 420 | #endif |
421 | #endif /* !SIMULATOR */ | ||
421 | #if CONFIG_CODEC == SWCODEC | 422 | #if CONFIG_CODEC == SWCODEC |
422 | void (*pcm_play_data)(pcm_more_callback_type get_more, | 423 | void (*pcm_play_data)(pcm_more_callback_type get_more, |
423 | unsigned char* start, size_t size); | 424 | unsigned char* start, size_t size); |
@@ -426,7 +427,6 @@ struct plugin_api { | |||
426 | bool (*pcm_is_playing)(void); | 427 | bool (*pcm_is_playing)(void); |
427 | void (*pcm_play_pause)(bool play); | 428 | void (*pcm_play_pause)(bool play); |
428 | #endif | 429 | #endif |
429 | #endif /* !SIMULATOR */ | ||
430 | #if CONFIG_CODEC == SWCODEC | 430 | #if CONFIG_CODEC == SWCODEC |
431 | void (*pcm_calculate_peaks)(int *left, int *right); | 431 | void (*pcm_calculate_peaks)(int *left, int *right); |
432 | #endif | 432 | #endif |