diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-04-09 01:47:10 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-09 10:52:02 +0000 |
commit | 54b8e9131c8775777dfb3c76f308a97c49c55fd9 (patch) | |
tree | 60685e60c49d3cce53a2e7fb32f72f68634cd0a4 /firmware/sound.c | |
parent | 1e2a9a651c26b7526530428b248132e02624bb84 (diff) | |
download | rockbox-54b8e9131c8775777dfb3c76f308a97c49c55fd9.tar.gz rockbox-54b8e9131c8775777dfb3c76f308a97c49c55fd9.zip |
Revert "sound: add sound_numdecimals() to round out the sound setting query API"
There is already a sound_numdecimals() function, according to Git
it's been around since 2005. No need to add another one :).
This reverts commit 92a0ab8789c622afecc47f3b399eda8abf26ee9e.
Change-Id: I533ebf1763dd7a27346842982493d4550f05ad7c
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 2a423177a7..0f6994ee6a 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -98,11 +98,6 @@ int sound_default(int setting) | |||
98 | return get_settings_info(setting)->defaultval; | 98 | return get_settings_info(setting)->defaultval; |
99 | } | 99 | } |
100 | 100 | ||
101 | int sound_num_decimals(int setting) | ||
102 | { | ||
103 | return get_settings_info(setting)->numdecimals; | ||
104 | } | ||
105 | |||
106 | sound_set_type * sound_get_fn(int setting) | 101 | sound_set_type * sound_get_fn(int setting) |
107 | { | 102 | { |
108 | return get_setting_entry(setting)->function; | 103 | return get_setting_entry(setting)->function; |