diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/settings.c b/apps/settings.c index 4068f78015..8c8a3ba1d5 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -203,7 +203,7 @@ static const struct bit_entry rtc_bits[] = | |||
203 | /* sound */ | 203 | /* sound */ |
204 | #if CONFIG_CODEC == MAS3507D | 204 | #if CONFIG_CODEC == MAS3507D |
205 | {8 | SIGNED, S_O(volume), -18, "volume", NULL }, /* -78...+18 */ | 205 | {8 | SIGNED, S_O(volume), -18, "volume", NULL }, /* -78...+18 */ |
206 | #else | 206 | #else |
207 | {8 | SIGNED, S_O(volume), -25, "volume", NULL }, /* -100...+12 / -84...0 */ | 207 | {8 | SIGNED, S_O(volume), -25, "volume", NULL }, /* -100...+12 / -84...0 */ |
208 | #endif | 208 | #endif |
209 | {8 | SIGNED, S_O(balance), 0, "balance", NULL }, /* -100...100 */ | 209 | {8 | SIGNED, S_O(balance), 0, "balance", NULL }, /* -100...100 */ |
@@ -300,7 +300,7 @@ static const struct bit_entry rtc_bits[] = | |||
300 | #endif | 300 | #endif |
301 | 301 | ||
302 | #ifdef CONFIG_BACKLIGHT | 302 | #ifdef CONFIG_BACKLIGHT |
303 | {1, S_O(bl_filter_first_keypress), | 303 | {1, S_O(bl_filter_first_keypress), |
304 | #ifdef HAVE_LCD_COLOR | 304 | #ifdef HAVE_LCD_COLOR |
305 | true, | 305 | true, |
306 | #else | 306 | #else |
@@ -308,9 +308,9 @@ static const struct bit_entry rtc_bits[] = | |||
308 | #endif | 308 | #endif |
309 | "backlight filters first keypress", off_on }, | 309 | "backlight filters first keypress", off_on }, |
310 | #ifdef HAVE_REMOTE_LCD | 310 | #ifdef HAVE_REMOTE_LCD |
311 | {1, S_O(remote_bl_filter_first_keypress), false, | 311 | {1, S_O(remote_bl_filter_first_keypress), false, |
312 | "backlight filters first remote keypress", off_on }, | 312 | "backlight filters first remote keypress", off_on }, |
313 | #endif | 313 | #endif |
314 | 314 | ||
315 | #endif | 315 | #endif |
316 | 316 | ||
@@ -475,7 +475,7 @@ static const struct bit_entry hd_bits[] = | |||
475 | {1, S_O(replaygain_noclip), false, "replaygain noclip", off_on }, | 475 | {1, S_O(replaygain_noclip), false, "replaygain noclip", off_on }, |
476 | {8 | SIGNED, S_O(replaygain_preamp), 0, "replaygain preamp", NULL }, | 476 | {8 | SIGNED, S_O(replaygain_preamp), 0, "replaygain preamp", NULL }, |
477 | {2, S_O(beep), 0, "beep", "off,weak,moderate,strong" }, | 477 | {2, S_O(beep), 0, "beep", "off,weak,moderate,strong" }, |
478 | {2, S_O(crossfade), 0, "crossfade", "off,shuffle,always"}, | 478 | {2, S_O(crossfade), 0, "crossfade", "off,shuffle,track skip,always"}, |
479 | {3, S_O(crossfade_fade_in_delay), 0, "crossfade fade in delay", NULL}, | 479 | {3, S_O(crossfade_fade_in_delay), 0, "crossfade fade in delay", NULL}, |
480 | {3, S_O(crossfade_fade_out_delay), 0, "crossfade fade out delay", NULL}, | 480 | {3, S_O(crossfade_fade_out_delay), 0, "crossfade fade out delay", NULL}, |
481 | {4, S_O(crossfade_fade_in_duration), 0, "crossfade fade in duration", NULL}, | 481 | {4, S_O(crossfade_fade_in_duration), 0, "crossfade fade in duration", NULL}, |
@@ -511,13 +511,13 @@ static const struct bit_entry hd_bits[] = | |||
511 | #endif | 511 | #endif |
512 | 512 | ||
513 | #ifdef HAVE_REMOTE_LCD | 513 | #ifdef HAVE_REMOTE_LCD |
514 | {1, S_O(remote_caption_backlight), false, | 514 | {1, S_O(remote_caption_backlight), false, |
515 | "remote caption backlight", off_on }, | 515 | "remote caption backlight", off_on }, |
516 | #endif | 516 | #endif |
517 | {4, S_O(default_codepage), 0, "default codepage", "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8,cp1256" }, | 517 | {4, S_O(default_codepage), 0, "default codepage", "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8,cp1256" }, |
518 | 518 | ||
519 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | 519 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS |
520 | {4, S_O(brightness), 9, "brightness", NULL }, | 520 | {4, S_O(brightness), 9, "brightness", NULL }, |
521 | #endif | 521 | #endif |
522 | 522 | ||
523 | #ifdef HAVE_LCD_BITMAP | 523 | #ifdef HAVE_LCD_BITMAP |
@@ -565,8 +565,8 @@ static const struct bit_entry hd_bits[] = | |||
565 | #endif /* CONFIG_BACKLIGHT */ | 565 | #endif /* CONFIG_BACKLIGHT */ |
566 | #endif /*HAVE_RECORDING*/ | 566 | #endif /*HAVE_RECORDING*/ |
567 | #ifdef HAVE_LCD_COLOR | 567 | #ifdef HAVE_LCD_COLOR |
568 | {LCD_DEPTH,S_O(fg_color),LCD_DEFAULT_FG,"foreground color","rgb"}, | 568 | {LCD_DEPTH,S_O(fg_color),LCD_DEFAULT_FG,"foreground color","rgb"}, |
569 | {LCD_DEPTH,S_O(bg_color),LCD_DEFAULT_BG,"background color","rgb"}, | 569 | {LCD_DEPTH,S_O(bg_color),LCD_DEFAULT_BG,"background color","rgb"}, |
570 | #endif | 570 | #endif |
571 | 571 | ||
572 | #ifdef HAVE_DIRCACHE | 572 | #ifdef HAVE_DIRCACHE |
@@ -1148,7 +1148,7 @@ void settings_apply(void) | |||
1148 | dsp_set_crossfeed(global_settings.crossfeed); | 1148 | dsp_set_crossfeed(global_settings.crossfeed); |
1149 | 1149 | ||
1150 | dsp_set_eq(global_settings.eq_enabled); | 1150 | dsp_set_eq(global_settings.eq_enabled); |
1151 | dsp_set_eq_precut(global_settings.eq_precut); | 1151 | dsp_set_eq_precut(global_settings.eq_precut); |
1152 | /* Update all EQ bands */ | 1152 | /* Update all EQ bands */ |
1153 | for(i = 0; i < 5; i++) { | 1153 | for(i = 0; i < 5; i++) { |
1154 | dsp_set_eq_coefs(i); | 1154 | dsp_set_eq_coefs(i); |
@@ -1525,7 +1525,7 @@ static void save_cfg_table(const struct bit_entry* p_table, int count, int fd) | |||
1525 | #ifdef HAVE_LCD_COLOR | 1525 | #ifdef HAVE_LCD_COLOR |
1526 | else if (!strcasecmp(p_run->cfg_val, "rgb")) | 1526 | else if (!strcasecmp(p_run->cfg_val, "rgb")) |
1527 | { | 1527 | { |
1528 | fdprintf(fd, "%s: %02x%02x%02x\r\n", p_run->cfg_name, | 1528 | fdprintf(fd, "%s: %02x%02x%02x\r\n", p_run->cfg_name, |
1529 | (int)RGB_UNPACK_RED(value), | 1529 | (int)RGB_UNPACK_RED(value), |
1530 | (int)RGB_UNPACK_GREEN(value), | 1530 | (int)RGB_UNPACK_GREEN(value), |
1531 | (int)RGB_UNPACK_BLUE(value)); | 1531 | (int)RGB_UNPACK_BLUE(value)); |
@@ -1693,7 +1693,7 @@ void settings_reset(void) { | |||
1693 | global_settings.lang_file[0] = '\0'; | 1693 | global_settings.lang_file[0] = '\0'; |
1694 | #ifdef HAVE_LCD_COLOR | 1694 | #ifdef HAVE_LCD_COLOR |
1695 | global_settings.backdrop_file[0] = '\0'; | 1695 | global_settings.backdrop_file[0] = '\0'; |
1696 | 1696 | ||
1697 | global_settings.fg_color = LCD_DEFAULT_FG; | 1697 | global_settings.fg_color = LCD_DEFAULT_FG; |
1698 | global_settings.bg_color = LCD_DEFAULT_BG; | 1698 | global_settings.bg_color = LCD_DEFAULT_BG; |
1699 | #endif | 1699 | #endif |