1
0
Fork 0
forked from len0rd/rockbox

plugins: Remove six API functions with no users

statusbars, gui_syncstatusbar_draw(), and set_time()
  mp3_play_data(), mp3_play_pause(), mp3_play_stop()

  [mp3_is_playing() is still used by imageviewer]

(followup to the sh/archos exorcism..)

Change-Id: I06a1d981ffc86b8073fcfa2380a393a07347ab3b
This commit is contained in:
Solomon Peachy 2020-07-18 23:02:58 -04:00
parent 658026e626
commit 503bb791b0
2 changed files with 2 additions and 19 deletions

View file

@ -596,10 +596,7 @@ static const struct plugin_api rockbox_api = {
#if defined (HAVE_PITCHCONTROL)
sound_set_pitch,
#endif
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
mp3_play_data,
mp3_play_pause,
mp3_play_stop,
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE)
mp3_is_playing,
#endif
&audio_master_sampr_list[0],
@ -711,10 +708,6 @@ static const struct plugin_api rockbox_api = {
root_menu_write_to_cfg,
root_menu_load_from_cfg,
/* statusbars */
&statusbars,
gui_syncstatusbar_draw,
/* options */
get_settings_list,
find_setting,
@ -755,7 +748,6 @@ static const struct plugin_api rockbox_api = {
(void *)qsort,
kbd_input,
get_time,
set_time,
gmtime_r,
#if CONFIG_RTC
mktime,