summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-07-25 00:48:40 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-07-25 00:48:40 -0500
commit5f9d1f59d308e5832432d6f3d4e7380ef656521b (patch)
tree30ceec1aea278524893f7a20808f856eaa3f76bd /firmware/export
parent7e4902bf6bfcf0acef0889bf4e3fae04a8839079 (diff)
downloadrockbox-5f9d1f59d308e5832432d6f3d4e7380ef656521b.tar.gz
rockbox-5f9d1f59d308e5832432d6f3d4e7380ef656521b.tar.bz2
rockbox-5f9d1f59d308e5832432d6f3d4e7380ef656521b.zip
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 'firmware/export')
-rw-r--r--firmware/export/sound.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/sound.h b/firmware/export/sound.h
index 501c6a48a1..3a26e30b68 100644
--- a/firmware/export/sound.h
+++ b/firmware/export/sound.h
@@ -31,6 +31,7 @@ int sound_numdecimals(int setting);
int sound_steps(int setting);
int sound_min(int setting);
int sound_max(int setting);
+int sound_current(int setting);
int sound_default(int setting);
sound_set_type* sound_get_fn(int setting);