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 92a0ab8789.

Change-Id: I533ebf1763dd7a27346842982493d4550f05ad7c
This commit is contained in:
Aidan MacDonald 2021-04-09 01:47:10 +01:00 committed by Solomon Peachy
parent 1e2a9a651c
commit 54b8e9131c
2 changed files with 0 additions and 6 deletions

View file

@ -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);

View file

@ -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;