From 5f9d1f59d308e5832432d6f3d4e7380ef656521b Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 25 Jul 2019 00:48:40 -0500 Subject: Add sound_current to plugin api Adds: sound_current(int setting) returns the current sound setting from global_settings complements sound_max, sound_min and sound_default Change-Id: I35bd893753c958f808492906fe533edc51d5d57c --- apps/plugin.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index f9cef981bf..41434f27c4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -84,7 +84,6 @@ char *plugin_get_current_filename(void); static void* plugin_get_audio_buffer(size_t *buffer_size); static void plugin_release_audio_buffer(void); static void plugin_tsr(bool (*exit_callback)(bool)); -int sound_current(int setting); /*stub*/ #ifdef HAVE_PLUGIN_CHECK_OPEN_CLOSE /* File handle leak prophylaxis */ @@ -1080,9 +1079,3 @@ char *plugin_get_current_filename(void) { return current_plugin; } - -int sound_current(int setting) /*stub*/ -{ - (void) setting; - return 0; -} -- cgit v1.2.3