From 34525a18dc348f36d581f8a10ef06cbfdd9b85a7 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Mon, 2 Feb 2026 21:07:48 +0000 Subject: [PATCH] plugins: drop audio_hard_stop() from plugin API Commit 01f96e40a7 ("mpegplayer: remove IRAM save/restore hack") removed the only user. Change-Id: Ia6281159387ab984906443f047b849614d92ef9e --- apps/plugin.c | 3 --- apps/plugin.h | 5 +---- docs/PLUGIN_API | 5 ----- 3 files changed, 1 insertion(+), 12 deletions(-) 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