From a6a1be6e304749edd6952143da835c82dbfe770a Mon Sep 17 00:00:00 2001 From: mojyack Date: Mon, 16 Feb 2026 12:06:02 +0900 Subject: [PATCH] plugins: remove hw_freq_sampr from plugin api replaced by pcm_current_sink_caps Change-Id: Ib17a1f5bb8ae479278ef467dfcc99fead6f1499e --- apps/plugin.c | 1 - apps/plugin.h | 1 - docs/PLUGIN_API | 5 ----- 3 files changed, 7 deletions(-) diff --git a/apps/plugin.c b/apps/plugin.c index 64cf446208..6dfb9ce765 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 - &hw_freq_sampr[0], pcm_play_lock, pcm_play_unlock, pcm_current_sink_caps, diff --git a/apps/plugin.h b/apps/plugin.h index 6da1087319..4eb83fbad5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -741,7 +741,6 @@ struct plugin_api { int32_t (*sound_get_pitch)(void); void (*sound_set_pitch)(int32_t pitch); #endif - const unsigned long *hw_freq_sampr; void (*pcm_play_lock)(void); void (*pcm_play_unlock)(void); const struct pcm_sink_caps* (*pcm_current_sink_caps)(void); diff --git a/docs/PLUGIN_API b/docs/PLUGIN_API index fc60108fc5..d86fcbf335 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 *hw_freq_sampr - \group sound - \return - \description - const unsigned long *rec_freq_sampr \group sound \conditions (defined(HAVE_RECORDING))