summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 57b4cc897e..780c2940b4 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -1269,6 +1269,21 @@ static bool replaygain_settings_menu(void)
1269 menu_exit(m); 1269 menu_exit(m);
1270 return result; 1270 return result;
1271} 1271}
1272
1273static bool beep(void)
1274{
1275 static const struct opt_items names[] = {
1276 { STR(LANG_OFF) },
1277 { STR(LANG_WEAK) },
1278 { STR(LANG_MODERATE) },
1279 { STR(LANG_STRONG) },
1280 };
1281 bool ret;
1282 ret=set_option( str(LANG_BEEP),
1283 &global_settings.beep, INT, names, 4, NULL);
1284
1285 return ret;
1286}
1272#endif 1287#endif
1273 1288
1274static bool playback_settings_menu(void) 1289static bool playback_settings_menu(void)
@@ -1288,6 +1303,7 @@ static bool playback_settings_menu(void)
1288 { ID2P(LANG_CROSSFADE), crossfade }, 1303 { ID2P(LANG_CROSSFADE), crossfade },
1289 { ID2P(LANG_CROSSFADE_DURATION), crossfade_duration }, 1304 { ID2P(LANG_CROSSFADE_DURATION), crossfade_duration },
1290 { ID2P(LANG_REPLAYGAIN), replaygain_settings_menu }, 1305 { ID2P(LANG_REPLAYGAIN), replaygain_settings_menu },
1306 { ID2P(LANG_BEEP), beep },
1291#endif 1307#endif
1292#ifdef HAVE_SPDIF_POWER 1308#ifdef HAVE_SPDIF_POWER
1293 { ID2P(LANG_SPDIF_ENABLE), spdif }, 1309 { ID2P(LANG_SPDIF_ENABLE), spdif },