summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 0ab73281ee..4c0f44b2e8 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -466,7 +466,6 @@ static const struct plugin_api rockbox_api = {
466 thread_self, 466 thread_self,
467 thread_exit, 467 thread_exit,
468 thread_wait, 468 thread_wait,
469#if (CONFIG_CODEC == SWCODEC)
470 thread_thaw, 469 thread_thaw,
471#ifdef HAVE_PRIORITY_SCHEDULING 470#ifdef HAVE_PRIORITY_SCHEDULING
472 thread_set_priority, 471 thread_set_priority,
@@ -474,7 +473,6 @@ static const struct plugin_api rockbox_api = {
474 mutex_init, 473 mutex_init,
475 mutex_lock, 474 mutex_lock,
476 mutex_unlock, 475 mutex_unlock,
477#endif
478#ifdef HAVE_SEMAPHORE_OBJECTS 476#ifdef HAVE_SEMAPHORE_OBJECTS
479 semaphore_init, 477 semaphore_init,
480 semaphore_wait, 478 semaphore_wait,
@@ -517,13 +515,11 @@ static const struct plugin_api rockbox_api = {
517 queue_delete, 515 queue_delete,
518 queue_post, 516 queue_post,
519 queue_wait_w_tmo, 517 queue_wait_w_tmo,
520#if CONFIG_CODEC == SWCODEC
521 queue_enable_queue_send, 518 queue_enable_queue_send,
522 queue_empty, 519 queue_empty,
523 queue_wait, 520 queue_wait,
524 queue_send, 521 queue_send,
525 queue_reply, 522 queue_reply,
526#endif
527 523
528#ifdef RB_PROFILE 524#ifdef RB_PROFILE
529 profile_thread, 525 profile_thread,
@@ -601,7 +597,7 @@ static const struct plugin_api rockbox_api = {
601#ifdef AUDIOHW_HAVE_EQ 597#ifdef AUDIOHW_HAVE_EQ
602 sound_enum_hw_eq_band_setting, 598 sound_enum_hw_eq_band_setting,
603#endif 599#endif
604#if ((CONFIG_CODEC == SWCODEC)) && defined (HAVE_PITCHCONTROL) 600#if defined (HAVE_PITCHCONTROL)
605 sound_set_pitch, 601 sound_set_pitch,
606#endif 602#endif
607#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 603#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
@@ -609,11 +605,7 @@ static const struct plugin_api rockbox_api = {
609 mp3_play_pause, 605 mp3_play_pause,
610 mp3_play_stop, 606 mp3_play_stop,
611 mp3_is_playing, 607 mp3_is_playing,
612#if CONFIG_CODEC != SWCODEC
613 bitswap,
614#endif 608#endif
615#endif
616#if CONFIG_CODEC == SWCODEC
617 &audio_master_sampr_list[0], 609 &audio_master_sampr_list[0],
618 &hw_freq_sampr[0], 610 &hw_freq_sampr[0],
619 pcm_apply_settings, 611 pcm_apply_settings,
@@ -667,7 +659,6 @@ static const struct plugin_api rockbox_api = {
667 pcmbuf_fade, 659 pcmbuf_fade,
668 system_sound_play, 660 system_sound_play,
669 keyclick_click, 661 keyclick_click,
670#endif /* CONFIG_CODEC == SWCODEC */
671 662
672 /* metadata */ 663 /* metadata */
673 get_metadata, 664 get_metadata,
@@ -716,9 +707,6 @@ static const struct plugin_api rockbox_api = {
716 audio_current_track, 707 audio_current_track,
717 audio_flush_and_reload_tracks, 708 audio_flush_and_reload_tracks,
718 audio_get_file_pos, 709 audio_get_file_pos,
719#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
720 mpeg_get_last_header,
721#endif
722 710
723 /* menu */ 711 /* menu */
724 root_menu_get_options, 712 root_menu_get_options,
@@ -783,7 +771,6 @@ static const struct plugin_api rockbox_api = {
783#ifdef ROCKBOX_HAS_LOGF 771#ifdef ROCKBOX_HAS_LOGF
784 _logf, 772 _logf,
785#endif 773#endif
786#if CONFIG_CODEC == SWCODEC
787 codec_thread_do_callback, 774 codec_thread_do_callback,
788 codec_load_file, 775 codec_load_file,
789 codec_run_proc, 776 codec_run_proc,
@@ -792,7 +779,6 @@ static const struct plugin_api rockbox_api = {
792 find_array_ptr, 779 find_array_ptr,
793 remove_array_ptr, 780 remove_array_ptr,
794 round_value_to_list32, 781 round_value_to_list32,
795#endif /* CONFIG_CODEC == SWCODEC */
796 782
797#ifdef HAVE_LCD_BITMAP 783#ifdef HAVE_LCD_BITMAP
798 read_bmp_file, 784 read_bmp_file,