summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index d1f0348cc3..c9c3d047d2 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -352,6 +352,7 @@ static const struct plugin_api rockbox_api = {
352 get_action, 352 get_action,
353#ifdef HAVE_TOUCHSCREEN 353#ifdef HAVE_TOUCHSCREEN
354 action_get_touchscreen_press, 354 action_get_touchscreen_press,
355 action_get_touchscreen_press_in_vp,
355#endif 356#endif
356 action_userabort, 357 action_userabort,
357 358
@@ -413,6 +414,7 @@ static const struct plugin_api rockbox_api = {
413 FS_PREFIX(file_exists), 414 FS_PREFIX(file_exists),
414 strip_extension, 415 strip_extension,
415 crc_32, 416 crc_32,
417 crc_32r,
416 filetype_get_attr, 418 filetype_get_attr,
417 419
418 /* dir */ 420 /* dir */
@@ -593,6 +595,7 @@ static const struct plugin_api rockbox_api = {
593 sound_enum_hw_eq_band_setting, 595 sound_enum_hw_eq_band_setting,
594#endif 596#endif
595#if defined (HAVE_PITCHCONTROL) 597#if defined (HAVE_PITCHCONTROL)
598 sound_get_pitch,
596 sound_set_pitch, 599 sound_set_pitch,
597#endif 600#endif
598 &audio_master_sampr_list[0], 601 &audio_master_sampr_list[0],
@@ -622,7 +625,10 @@ static const struct plugin_api rockbox_api = {
622 dsp_eq_enable, 625 dsp_eq_enable,
623 dsp_dither_enable, 626 dsp_dither_enable,
624#ifdef HAVE_PITCHCONTROL 627#ifdef HAVE_PITCHCONTROL
628 dsp_get_timestretch,
625 dsp_set_timestretch, 629 dsp_set_timestretch,
630 dsp_timestretch_enable,
631 dsp_timestretch_available,
626#endif 632#endif
627 dsp_configure, 633 dsp_configure,
628 dsp_get_config, 634 dsp_get_config,
@@ -641,6 +647,7 @@ static const struct plugin_api rockbox_api = {
641 mixer_get_frequency, 647 mixer_get_frequency,
642 648
643 pcmbuf_fade, 649 pcmbuf_fade,
650 pcmbuf_set_low_latency,
644 system_sound_play, 651 system_sound_play,
645 keyclick_click, 652 keyclick_click,
646 653
@@ -692,6 +699,9 @@ static const struct plugin_api rockbox_api = {
692 audio_current_track, 699 audio_current_track,
693 audio_flush_and_reload_tracks, 700 audio_flush_and_reload_tracks,
694 audio_get_file_pos, 701 audio_get_file_pos,
702#ifdef PLUGIN_USE_IRAM
703 audio_hard_stop,
704#endif
695 705
696 /* menu */ 706 /* menu */
697 root_menu_get_options, 707 root_menu_get_options,
@@ -735,6 +745,7 @@ static const struct plugin_api rockbox_api = {
735#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 745#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
736 __errno, 746 __errno,
737#endif 747#endif
748 led,
738 srand, 749 srand,
739 rand, 750 rand,
740 (void *)qsort, 751 (void *)qsort,
@@ -780,7 +791,6 @@ static const struct plugin_api rockbox_api = {
780 detect_flashed_ramimage, 791 detect_flashed_ramimage,
781 detect_flashed_romimage, 792 detect_flashed_romimage,
782#endif 793#endif
783 led,
784 794
785 /*plugin*/ 795 /*plugin*/
786 plugin_open, 796 plugin_open,
@@ -789,11 +799,6 @@ static const struct plugin_api rockbox_api = {
789 plugin_release_audio_buffer, /* defined in plugin.c */ 799 plugin_release_audio_buffer, /* defined in plugin.c */
790 plugin_tsr, /* defined in plugin.c */ 800 plugin_tsr, /* defined in plugin.c */
791 plugin_get_current_filename, 801 plugin_get_current_filename,
792#ifdef PLUGIN_USE_IRAM
793 audio_hard_stop,
794#endif
795 crc_32r,
796
797 /* new stuff at the end, sort into place next time 802 /* new stuff at the end, sort into place next time
798 the API gets incompatible */ 803 the API gets incompatible */
799 804