summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-11-06 23:12:11 +0000
committerJens Arnold <amiconn@rockbox.org>2005-11-06 23:12:11 +0000
commit8051a0b724bff718ce99acc0c45dd561d8d798d7 (patch)
treea09a44c1aeed92c313880671140c1f06c7a169e3 /apps/settings_menu.c
parent4d9be96a819206534594f79e856fbbd7880588d4 (diff)
Sound settings rework: * Put all fixed parameters (unit, decimals, step, min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 65e40f9f10..22ed9c7fec 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -882,7 +882,9 @@ static bool poweroff(void)
static bool line_in(void)
{
bool rc = set_bool(str(LANG_LINE_IN), &global_settings.line_in);
+#ifndef SIMULATOR
dac_line_in(global_settings.line_in);
+#endif
return rc;
}
#endif