diff options
-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 2fbfe346b3..c2b697fe0b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -322,6 +322,7 @@ static const struct plugin_api rockbox_api = { | |||
322 | #if CONFIG_CODEC != SWCODEC | 322 | #if CONFIG_CODEC != SWCODEC |
323 | bitswap, | 323 | bitswap, |
324 | #endif | 324 | #endif |
325 | #endif | ||
325 | #if CONFIG_CODEC == SWCODEC | 326 | #if CONFIG_CODEC == SWCODEC |
326 | pcm_play_data, | 327 | pcm_play_data, |
327 | pcm_play_stop, | 328 | pcm_play_stop, |
@@ -329,7 +330,6 @@ static const struct plugin_api rockbox_api = { | |||
329 | pcm_is_playing, | 330 | pcm_is_playing, |
330 | pcm_play_pause, | 331 | pcm_play_pause, |
331 | #endif | 332 | #endif |
332 | #endif | ||
333 | #if CONFIG_CODEC == SWCODEC | 333 | #if CONFIG_CODEC == SWCODEC |
334 | pcm_calculate_peaks, | 334 | pcm_calculate_peaks, |
335 | #endif | 335 | #endif |
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 |