summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-04-09 01:47:10 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-04-09 10:52:02 +0000
commit54b8e9131c8775777dfb3c76f308a97c49c55fd9 (patch)
tree60685e60c49d3cce53a2e7fb32f72f68634cd0a4 /firmware/sound.c
parent1e2a9a651c26b7526530428b248132e02624bb84 (diff)
downloadrockbox-54b8e9131c8775777dfb3c76f308a97c49c55fd9.tar.gz
rockbox-54b8e9131c8775777dfb3c76f308a97c49c55fd9.tar.bz2
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.c5
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)
return get_settings_info(setting)->defaultval;
}
-int sound_num_decimals(int setting)
-{
- return get_settings_info(setting)->numdecimals;
-}
-
sound_set_type * sound_get_fn(int setting)
{
return get_setting_entry(setting)->function;