diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-07-25 00:48:40 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2019-07-25 00:48:40 -0500 |
commit | 5f9d1f59d308e5832432d6f3d4e7380ef656521b (patch) | |
tree | 30ceec1aea278524893f7a20808f856eaa3f76bd /apps/plugin.c | |
parent | 7e4902bf6bfcf0acef0889bf4e3fae04a8839079 (diff) |
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
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 7 |
1 files changed, 0 insertions, 7 deletions
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; -} |