plugins: drop audio_hard_stop() from plugin API

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 34525a18dc348f36d581f8a10ef06cbfdd9b85a7
Author: Aidan MacDonald <[email protected]>
Date:   Mon Feb 2 21:07:48 2026 +0000

    plugins: drop audio_hard_stop() from plugin API
    
    Commit 01f96e40a7 ("mpegplayer: remove IRAM save/restore hack")
    removed the only user.
    
    Change-Id: Ia6281159387ab984906443f047b849614d92ef9e

diff --git a/apps/plugin.c b/apps/plugin.c
index 5b2bae91b4..fd886ea93f 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -758,9 +758,6 @@ static const struct plugin_api rockbox_api = {
     audio_current_track,
     audio_flush_and_reload_tracks,
     audio_get_file_pos,
-#ifdef PLUGIN_USE_IRAM
-    audio_hard_stop,
-#endif
     add_playbacklog,
 
     /* menu */
diff --git a/apps/plugin.h b/apps/plugin.h
index 20190846c5..bc700cbbc1 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -178,7 +178,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 277
+#define PLUGIN_API_VERSION 278
 
 /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */
 
@@ -889,9 +889,6 @@ struct plugin_api {
     struct mp3entry* (*audio_current_track)(void);
     void (*audio_flush_and_reload_tracks)(void);
     int (*audio_get_file_pos)(void);
-#ifdef PLUGIN_USE_IRAM
-    void (*audio_hard_stop)(void);
-#endif
     void (*add_playbacklog)(struct mp3entry *id3);
 
     /* menu */
diff --git a/docs/PLUGIN_API b/docs/PLUGIN_API
index f8bf383896..337a2c6752 100644
--- a/docs/PLUGIN_API
+++ b/docs/PLUGIN_API
@@ -107,11 +107,6 @@ int audio_get_file_pos(void)
     \return
     \description
 
-void audio_hard_stop(void)
-    \group playback control
-    \conditions (defined(PLUGIN_USE_IRAM))
-    \description
-
 void audio_next(void)
     \group playback control
     \description
-- 
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.