plugins: Remove audio_master_sampr_list from the plugin API

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 5d1185774ca561d55f5a45e2efbcc2610a992125
Author: Solomon Peachy <[email protected]>
Date:   Tue Mar 3 21:31:07 2026 -0500

    plugins:  Remove audio_master_sampr_list from the plugin API
    
    From what I can tell it has _never_ been used.
    
    Change-Id: I08f3860f04add35859e82b8e94abfa9789a45026

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
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.