From 5d1185774ca561d55f5a45e2efbcc2610a992125 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 3 Mar 2026 21:31:07 -0500 Subject: [PATCH] plugins: Remove audio_master_sampr_list from the plugin API From what I can tell it has _never_ been used. Change-Id: I08f3860f04add35859e82b8e94abfa9789a45026 --- apps/plugin.c | 1 - apps/plugin.h | 3 +-- docs/PLUGIN_API | 5 ----- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/plugin.c b/apps/plugin.c index 2c0e2e778d..64cf446208 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -642,7 +642,6 @@ static const struct plugin_api rockbox_api = { sound_get_pitch, sound_set_pitch, #endif - &audio_master_sampr_list[0], &hw_freq_sampr[0], pcm_play_lock, pcm_play_unlock, diff --git a/apps/plugin.h b/apps/plugin.h index 2dcbdbe39f..6da1087319 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -179,7 +179,7 @@ int plugin_open(const char *plugin, const char *parameter); * when this happens please take the opportunity to sort in * any new functions "waiting" at the end of the list. */ -#define PLUGIN_API_VERSION 280 +#define PLUGIN_API_VERSION 281 /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ @@ -741,7 +741,6 @@ struct plugin_api { int32_t (*sound_get_pitch)(void); void (*sound_set_pitch)(int32_t pitch); #endif - const unsigned long *audio_master_sampr_list; const unsigned long *hw_freq_sampr; void (*pcm_play_lock)(void); void (*pcm_play_unlock)(void); diff --git a/docs/PLUGIN_API b/docs/PLUGIN_API index 65bf9d4c5b..fc60108fc5 100644 --- a/docs/PLUGIN_API +++ b/docs/PLUGIN_API @@ -1545,11 +1545,6 @@ void logf(const char *fmt, ...) ATTRIBUTE_PRINTF(1, 2) \param fmt \description -const unsigned long *audio_master_sampr_list - \group sound - \return - \description - const unsigned long *hw_freq_sampr \group sound \return