summaryrefslogtreecommitdiffstats
path: root/firmware
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
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')
-rw-r--r--firmware/export/sound.h1
-rw-r--r--firmware/sound.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/firmware/export/sound.h b/firmware/export/sound.h
index 8e79dd0aed..59677912db 100644
--- a/firmware/export/sound.h
+++ b/firmware/export/sound.h
@@ -31,7 +31,6 @@ int sound_numdecimals(int setting);
int sound_steps(int setting);
int sound_min(int setting);
int sound_max(int setting);
-int sound_num_decimals(int setting);
int sound_current(int setting);
int sound_default(int setting);
sound_set_type* sound_get_fn(int setting);
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;