diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-15 08:27:51 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-15 08:27:51 +0000 |
commit | 42ffbf9bbc1936e22c6bae5b5b6ce10d2a4552cf (patch) | |
tree | 679c9c24aeb1ad7e841120513f646bf39b9a4cb8 /apps/settings_menu.c | |
parent | 38ac78ae975f64d69e3ea430113ed76d420f512f (diff) | |
download | rockbox-42ffbf9bbc1936e22c6bae5b5b6ce10d2a4552cf.tar.gz rockbox-42ffbf9bbc1936e22c6bae5b5b6ce10d2a4552cf.zip |
Second step of the voice-UI: Option values are spoken, if they are translatable strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4383 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 259 |
1 files changed, 179 insertions, 80 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 75c78a7de3..ea2738f176 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -55,8 +55,8 @@ static bool car_adapter_mode(void) | |||
55 | { | 55 | { |
56 | return set_bool_options( str(LANG_CAR_ADAPTER_MODE), | 56 | return set_bool_options( str(LANG_CAR_ADAPTER_MODE), |
57 | &global_settings.car_adapter_mode, | 57 | &global_settings.car_adapter_mode, |
58 | str(LANG_SET_BOOL_YES), | 58 | STR(LANG_SET_BOOL_YES), |
59 | str(LANG_SET_BOOL_NO), | 59 | STR(LANG_SET_BOOL_NO), |
60 | set_car_adapter_mode); | 60 | set_car_adapter_mode); |
61 | } | 61 | } |
62 | 62 | ||
@@ -92,8 +92,8 @@ static bool invert(void) | |||
92 | { | 92 | { |
93 | bool rc = set_bool_options(str(LANG_INVERT), | 93 | bool rc = set_bool_options(str(LANG_INVERT), |
94 | &global_settings.invert, | 94 | &global_settings.invert, |
95 | str(LANG_INVERT_LCD_INVERSE), | 95 | STR(LANG_INVERT_LCD_INVERSE), |
96 | str(LANG_INVERT_LCD_NORMAL), | 96 | STR(LANG_INVERT_LCD_NORMAL), |
97 | lcd_set_invert_display); | 97 | lcd_set_invert_display); |
98 | return rc; | 98 | return rc; |
99 | } | 99 | } |
@@ -105,8 +105,8 @@ static bool invert_cursor(void) | |||
105 | { | 105 | { |
106 | return set_bool_options(str(LANG_INVERT_CURSOR), | 106 | return set_bool_options(str(LANG_INVERT_CURSOR), |
107 | &global_settings.invert_cursor, | 107 | &global_settings.invert_cursor, |
108 | str(LANG_INVERT_CURSOR_BAR), | 108 | STR(LANG_INVERT_CURSOR_BAR), |
109 | str(LANG_INVERT_CURSOR_POINTER), | 109 | STR(LANG_INVERT_CURSOR_POINTER), |
110 | NULL); | 110 | NULL); |
111 | } | 111 | } |
112 | 112 | ||
@@ -129,9 +129,10 @@ static bool flip_display(void) | |||
129 | */ | 129 | */ |
130 | static bool battery_type(void) | 130 | static bool battery_type(void) |
131 | { | 131 | { |
132 | char* names[] = { str(LANG_DISPLAY_GRAPHIC), | 132 | struct opt_items names[] = { |
133 | str(LANG_DISPLAY_NUMERIC) }; | 133 | { STR(LANG_DISPLAY_GRAPHIC) }, |
134 | 134 | { STR(LANG_DISPLAY_NUMERIC) } | |
135 | }; | ||
135 | return set_option( str(LANG_BATTERY_DISPLAY), | 136 | return set_option( str(LANG_BATTERY_DISPLAY), |
136 | &global_settings.battery_type, INT, names, 2, NULL); | 137 | &global_settings.battery_type, INT, names, 2, NULL); |
137 | } | 138 | } |
@@ -141,9 +142,10 @@ static bool battery_type(void) | |||
141 | */ | 142 | */ |
142 | static bool volume_type(void) | 143 | static bool volume_type(void) |
143 | { | 144 | { |
144 | char* names[] = { str(LANG_DISPLAY_GRAPHIC), | 145 | struct opt_items names[] = { |
145 | str(LANG_DISPLAY_NUMERIC) }; | 146 | { STR(LANG_DISPLAY_GRAPHIC) }, |
146 | 147 | { STR(LANG_DISPLAY_NUMERIC) } | |
148 | }; | ||
147 | return set_option( str(LANG_VOLUME_DISPLAY), &global_settings.volume_type, | 149 | return set_option( str(LANG_VOLUME_DISPLAY), &global_settings.volume_type, |
148 | INT, names, 2, NULL); | 150 | INT, names, 2, NULL); |
149 | } | 151 | } |
@@ -163,11 +165,25 @@ static bool peak_meter_fps_menu(void) { | |||
163 | */ | 165 | */ |
164 | static bool peak_meter_hold(void) { | 166 | static bool peak_meter_hold(void) { |
165 | bool retval = false; | 167 | bool retval = false; |
166 | char* names[] = { str(LANG_OFF), | 168 | struct opt_items names[] = { |
167 | "200 ms ", "300 ms ", "500 ms ", "1 s ", "2 s ", | 169 | { STR(LANG_OFF) }, |
168 | "3 s ", "4 s ", "5 s ", "6 s ", "7 s", | 170 | { "200 ms " , -1 }, |
169 | "8 s", "9 s", "10 s", "15 s", "20 s", | 171 | { "300 ms " , -1 }, |
170 | "30 s", "1 min" | 172 | { "500 ms " , -1 }, |
173 | { "1 s " , -1 }, | ||
174 | { "2 s " , -1 }, | ||
175 | { "3 s " , -1 }, | ||
176 | { "4 s " , -1 }, | ||
177 | { "5 s " , -1 }, | ||
178 | { "6 s " , -1 }, | ||
179 | { "7 s" , -1 }, | ||
180 | { "8 s" , -1 }, | ||
181 | { "9 s" , -1 }, | ||
182 | { "10 s" , -1 }, | ||
183 | { "15 s" , -1 }, | ||
184 | { "20 s" , -1 }, | ||
185 | { "30 s" , -1 }, | ||
186 | { "1 min" , -1 } | ||
171 | }; | 187 | }; |
172 | retval = set_option( str(LANG_PM_PEAK_HOLD), | 188 | retval = set_option( str(LANG_PM_PEAK_HOLD), |
173 | &global_settings.peak_meter_hold, INT, names, | 189 | &global_settings.peak_meter_hold, INT, names, |
@@ -186,14 +202,33 @@ static bool peak_meter_hold(void) { | |||
186 | static bool peak_meter_clip_hold(void) { | 202 | static bool peak_meter_clip_hold(void) { |
187 | bool retval = false; | 203 | bool retval = false; |
188 | 204 | ||
189 | char* names[] = { str(LANG_PM_ETERNAL), | 205 | struct opt_items names[] = { |
190 | "1s ", "2s ", "3s ", "4s ", "5s ", | 206 | { STR(LANG_PM_ETERNAL) }, |
191 | "6s ", "7s ", "8s ", "9s ", "10s", | 207 | { "1s " , -1 }, |
192 | "15s", "20s", "25s", "30s", "45s", | 208 | { "2s " , -1 }, |
193 | "60s", "90s", "2min", "3min", "5min", | 209 | { "3s " , -1 }, |
194 | "10min", "20min", "45min", "90min" | 210 | { "4s " , -1 }, |
211 | { "5s " , -1 }, | ||
212 | { "6s " , -1 }, | ||
213 | { "7s " , -1 }, | ||
214 | { "8s " , -1 }, | ||
215 | { "9s " , -1 }, | ||
216 | { "10s" , -1 }, | ||
217 | { "15s" , -1 }, | ||
218 | { "20s" , -1 }, | ||
219 | { "25s" , -1 }, | ||
220 | { "30s" , -1 }, | ||
221 | { "45s" , -1 }, | ||
222 | { "60s" , -1 }, | ||
223 | { "90s" , -1 }, | ||
224 | { "2min" , -1 }, | ||
225 | { "3min" , -1 }, | ||
226 | { "5min" , -1 }, | ||
227 | { "10min" , -1 }, | ||
228 | { "20min" , -1 }, | ||
229 | { "45min" , -1 }, | ||
230 | { "90min" , -1 } | ||
195 | }; | 231 | }; |
196 | |||
197 | retval = set_option( str(LANG_PM_CLIP_HOLD), | 232 | retval = set_option( str(LANG_PM_CLIP_HOLD), |
198 | &global_settings.peak_meter_clip_hold, INT, names, | 233 | &global_settings.peak_meter_clip_hold, INT, names, |
199 | 25, peak_meter_set_clip_hold); | 234 | 25, peak_meter_set_clip_hold); |
@@ -235,7 +270,7 @@ static bool peak_meter_scale(void) { | |||
235 | bool use_dbfs = global_settings.peak_meter_dbfs; | 270 | bool use_dbfs = global_settings.peak_meter_dbfs; |
236 | retval = set_bool_options(str(LANG_PM_SCALE), | 271 | retval = set_bool_options(str(LANG_PM_SCALE), |
237 | &use_dbfs, | 272 | &use_dbfs, |
238 | str(LANG_PM_DBFS), str(LANG_PM_LINEAR), | 273 | STR(LANG_PM_DBFS), STR(LANG_PM_LINEAR), |
239 | NULL); | 274 | NULL); |
240 | 275 | ||
241 | /* has the user really changed the scale? */ | 276 | /* has the user really changed the scale? */ |
@@ -348,7 +383,7 @@ static bool peak_meter_performance(void) { | |||
348 | bool retval = false; | 383 | bool retval = false; |
349 | retval = set_bool_options(str(LANG_PM_PERFORMANCE), | 384 | retval = set_bool_options(str(LANG_PM_PERFORMANCE), |
350 | &global_settings.peak_meter_performance, | 385 | &global_settings.peak_meter_performance, |
351 | str(LANG_PM_HIGH_PERFORMANCE), str(LANG_PM_ENERGY_SAVER), | 386 | STR(LANG_PM_HIGH_PERFORMANCE), STR(LANG_PM_ENERGY_SAVER), |
352 | NULL); | 387 | NULL); |
353 | 388 | ||
354 | if (global_settings.peak_meter_performance) { | 389 | if (global_settings.peak_meter_performance) { |
@@ -395,10 +430,11 @@ static bool shuffle(void) | |||
395 | static bool repeat_mode(void) | 430 | static bool repeat_mode(void) |
396 | { | 431 | { |
397 | bool result; | 432 | bool result; |
398 | char* names[] = { str(LANG_OFF), | 433 | struct opt_items names[] = { |
399 | str(LANG_REPEAT_ALL), | 434 | { STR(LANG_OFF) }, |
400 | str(LANG_REPEAT_ONE) }; | 435 | { STR(LANG_REPEAT_ALL) }, |
401 | 436 | { STR(LANG_REPEAT_ONE) } | |
437 | }; | ||
402 | int old_repeat = global_settings.repeat_mode; | 438 | int old_repeat = global_settings.repeat_mode; |
403 | 439 | ||
404 | result = set_option( str(LANG_REPEAT), &global_settings.repeat_mode, | 440 | result = set_option( str(LANG_REPEAT), &global_settings.repeat_mode, |
@@ -417,11 +453,12 @@ static bool play_selected(void) | |||
417 | 453 | ||
418 | static bool dir_filter(void) | 454 | static bool dir_filter(void) |
419 | { | 455 | { |
420 | char* names[] = { str(LANG_FILTER_ALL), | 456 | struct opt_items names[] = { |
421 | str(LANG_FILTER_SUPPORTED), | 457 | { STR(LANG_FILTER_ALL) }, |
422 | str(LANG_FILTER_MUSIC), | 458 | { STR(LANG_FILTER_SUPPORTED) }, |
423 | str(LANG_FILTER_PLAYLIST) }; | 459 | { STR(LANG_FILTER_MUSIC) }, |
424 | 460 | { STR(LANG_FILTER_PLAYLIST) } | |
461 | }; | ||
425 | return set_option( str(LANG_FILTER), &global_settings.dirfilter, INT, | 462 | return set_option( str(LANG_FILTER), &global_settings.dirfilter, INT, |
426 | names, 4, NULL ); | 463 | names, 4, NULL ); |
427 | } | 464 | } |
@@ -433,23 +470,25 @@ static bool sort_case(void) | |||
433 | 470 | ||
434 | static bool resume(void) | 471 | static bool resume(void) |
435 | { | 472 | { |
436 | char* names[] = { str(LANG_SET_BOOL_NO), | 473 | struct opt_items names[] = { |
437 | str(LANG_RESUME_SETTING_ASK), | 474 | { STR(LANG_SET_BOOL_NO) }, |
438 | str(LANG_RESUME_SETTING_ASK_ONCE), | 475 | { STR(LANG_RESUME_SETTING_ASK) }, |
439 | str(LANG_SET_BOOL_YES) }; | 476 | { STR(LANG_RESUME_SETTING_ASK_ONCE) }, |
440 | 477 | { STR(LANG_SET_BOOL_YES) } | |
478 | }; | ||
441 | return set_option( str(LANG_RESUME), &global_settings.resume, INT, | 479 | return set_option( str(LANG_RESUME), &global_settings.resume, INT, |
442 | names, 4, NULL ); | 480 | names, 4, NULL ); |
443 | } | 481 | } |
444 | 482 | ||
445 | static bool autocreatebookmark(void) | 483 | static bool autocreatebookmark(void) |
446 | { | 484 | { |
447 | char* names[] = { str(LANG_SET_BOOL_NO), | 485 | struct opt_items names[] = { |
448 | str(LANG_SET_BOOL_YES), | 486 | { STR(LANG_SET_BOOL_NO) }, |
449 | str(LANG_RESUME_SETTING_ASK), | 487 | { STR(LANG_SET_BOOL_YES) }, |
450 | str(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_YES), | 488 | { STR(LANG_RESUME_SETTING_ASK) }, |
451 | str(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_ASK) }; | 489 | { STR(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_YES) }, |
452 | 490 | { STR(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_ASK) } | |
491 | }; | ||
453 | return set_option( str(LANG_BOOKMARK_SETTINGS_AUTOCREATE), | 492 | return set_option( str(LANG_BOOKMARK_SETTINGS_AUTOCREATE), |
454 | &global_settings.autocreatebookmark, INT, | 493 | &global_settings.autocreatebookmark, INT, |
455 | names, 5, NULL ); | 494 | names, 5, NULL ); |
@@ -457,10 +496,11 @@ static bool autocreatebookmark(void) | |||
457 | 496 | ||
458 | static bool autoloadbookmark(void) | 497 | static bool autoloadbookmark(void) |
459 | { | 498 | { |
460 | char* names[] = { str(LANG_SET_BOOL_NO), | 499 | struct opt_items names[] = { |
461 | str(LANG_SET_BOOL_YES), | 500 | { STR(LANG_SET_BOOL_NO) }, |
462 | str(LANG_RESUME_SETTING_ASK) }; | 501 | { STR(LANG_SET_BOOL_YES) }, |
463 | 502 | { STR(LANG_RESUME_SETTING_ASK) } | |
503 | }; | ||
464 | return set_option( str(LANG_BOOKMARK_SETTINGS_AUTOLOAD), | 504 | return set_option( str(LANG_BOOKMARK_SETTINGS_AUTOLOAD), |
465 | &global_settings.autoloadbookmark, INT, | 505 | &global_settings.autoloadbookmark, INT, |
466 | names, 3, NULL ); | 506 | names, 3, NULL ); |
@@ -468,10 +508,11 @@ static bool autoloadbookmark(void) | |||
468 | 508 | ||
469 | static bool useMRB(void) | 509 | static bool useMRB(void) |
470 | { | 510 | { |
471 | char* names[] = { str(LANG_SET_BOOL_NO), | 511 | struct opt_items names[] = { |
472 | str(LANG_SET_BOOL_YES), | 512 | { STR(LANG_SET_BOOL_NO) }, |
473 | str(LANG_BOOKMARK_SETTINGS_UNIQUE_ONLY)}; | 513 | { STR(LANG_SET_BOOL_YES) }, |
474 | 514 | { STR(LANG_BOOKMARK_SETTINGS_UNIQUE_ONLY) } | |
515 | }; | ||
475 | return set_option( str(LANG_BOOKMARK_SETTINGS_MAINTAIN_RECENT_BOOKMARKS), | 516 | return set_option( str(LANG_BOOKMARK_SETTINGS_MAINTAIN_RECENT_BOOKMARKS), |
476 | &global_settings.usemrb, INT, | 517 | &global_settings.usemrb, INT, |
477 | names, 3, NULL ); | 518 | names, 3, NULL ); |
@@ -486,23 +527,50 @@ static bool backlight_on_when_charging(void) | |||
486 | 527 | ||
487 | static bool backlight_timer(void) | 528 | static bool backlight_timer(void) |
488 | { | 529 | { |
489 | char* names[] = { str(LANG_OFF), str(LANG_ON), | 530 | struct opt_items names[] = { |
490 | "1s ", "2s ", "3s ", "4s ", "5s ", | 531 | { STR(LANG_OFF) }, |
491 | "6s ", "7s ", "8s ", "9s ", "10s", | 532 | { STR(LANG_ON) }, |
492 | "15s", "20s", "25s", "30s", "45s", | 533 | { "1s ", -1 }, |
493 | "60s", "90s"}; | 534 | { "2s ", -1 }, |
494 | 535 | { "3s ", -1 }, | |
536 | { "4s ", -1 }, | ||
537 | { "5s ", -1 }, | ||
538 | { "6s ", -1 }, | ||
539 | { "7s ", -1 }, | ||
540 | { "8s ", -1 }, | ||
541 | { "9s ", -1 }, | ||
542 | { "10s", -1 }, | ||
543 | { "15s", -1 }, | ||
544 | { "20s", -1 }, | ||
545 | { "25s", -1 }, | ||
546 | { "30s", -1 }, | ||
547 | { "45s", -1 }, | ||
548 | { "60s", -1 }, | ||
549 | { "90s", -1 } | ||
550 | }; | ||
495 | return set_option(str(LANG_BACKLIGHT), &global_settings.backlight_timeout, | 551 | return set_option(str(LANG_BACKLIGHT), &global_settings.backlight_timeout, |
496 | INT, names, 19, backlight_set_timeout ); | 552 | INT, names, 19, backlight_set_timeout ); |
497 | } | 553 | } |
498 | 554 | ||
499 | static bool poweroff_idle_timer(void) | 555 | static bool poweroff_idle_timer(void) |
500 | { | 556 | { |
501 | char* names[] = { str(LANG_OFF), | 557 | struct opt_items names[] = { |
502 | "1m ", "2m ", "3m ", "4m ", "5m ", | 558 | { STR(LANG_OFF) }, |
503 | "6m ", "7m ", "8m ", "9m ", "10m", | 559 | { "1m ", -1 }, |
504 | "15m", "30m", "45m", "60m"}; | 560 | { "2m ", -1 }, |
505 | 561 | { "3m ", -1 }, | |
562 | { "4m ", -1 }, | ||
563 | { "5m ", -1 }, | ||
564 | { "6m ", -1 }, | ||
565 | { "7m ", -1 }, | ||
566 | { "8m ", -1 }, | ||
567 | { "9m ", -1 }, | ||
568 | { "10m", -1 }, | ||
569 | { "15m", -1 }, | ||
570 | { "30m", -1 }, | ||
571 | { "45m", -1 }, | ||
572 | { "60m", -1 } | ||
573 | }; | ||
506 | return set_option(str(LANG_POWEROFF_IDLE), &global_settings.poweroff, | 574 | return set_option(str(LANG_POWEROFF_IDLE), &global_settings.poweroff, |
507 | INT, names, 15, set_poweroff_timeout); | 575 | INT, names, 15, set_poweroff_timeout); |
508 | } | 576 | } |
@@ -541,8 +609,14 @@ static bool bidir_limit(void) | |||
541 | #ifdef HAVE_LCD_CHARCELLS | 609 | #ifdef HAVE_LCD_CHARCELLS |
542 | static bool jump_scroll(void) | 610 | static bool jump_scroll(void) |
543 | { | 611 | { |
544 | char* names[] = { str(LANG_OFF), str(LANG_ONE_TIME), "2", | 612 | struct opt_items names[] = { |
545 | "3", "4", str(LANG_ALWAYS)}; | 613 | { STR(LANG_OFF) }, |
614 | { STR(LANG_ONE_TIME) }, | ||
615 | { "2", -1 }, | ||
616 | { "3", -1 }, | ||
617 | { "4", -1 }, | ||
618 | { STR(LANG_ALWAYS) } | ||
619 | }; | ||
546 | bool ret; | 620 | bool ret; |
547 | ret=set_option(str(LANG_JUMP_SCROLL), &global_settings.jump_scroll, | 621 | ret=set_option(str(LANG_JUMP_SCROLL), &global_settings.jump_scroll, |
548 | INT, names, 6, lcd_jump_scroll); | 622 | INT, names, 6, lcd_jump_scroll); |
@@ -667,9 +741,10 @@ static bool timedate_set(void) | |||
667 | 741 | ||
668 | static bool timeformat_set(void) | 742 | static bool timeformat_set(void) |
669 | { | 743 | { |
670 | char* names[] = { str(LANG_24_HOUR_CLOCK), | 744 | struct opt_items names[] = { |
671 | str(LANG_12_HOUR_CLOCK) }; | 745 | { STR(LANG_24_HOUR_CLOCK) }, |
672 | 746 | { STR(LANG_12_HOUR_CLOCK) } | |
747 | }; | ||
673 | return set_option(str(LANG_TIMEFORMAT), &global_settings.timeformat, | 748 | return set_option(str(LANG_TIMEFORMAT), &global_settings.timeformat, |
674 | INT, names, 2, NULL); | 749 | INT, names, 2, NULL); |
675 | } | 750 | } |
@@ -722,11 +797,22 @@ static bool buffer_margin(void) | |||
722 | 797 | ||
723 | static bool ff_rewind_min_step(void) | 798 | static bool ff_rewind_min_step(void) |
724 | { | 799 | { |
725 | char* names[] = { "1s", "2s", "3s", "4s", | 800 | struct opt_items names[] = { |
726 | "5s", "6s", "8s", "10s", | 801 | { "1s", -1 }, |
727 | "15s", "20s", "25s", "30s", | 802 | { "2s", -1 }, |
728 | "45s", "60s" }; | 803 | { "3s", -1 }, |
729 | 804 | { "4s", -1 }, | |
805 | { "5s", -1 }, | ||
806 | { "6s", -1 }, | ||
807 | { "8s", -1 }, | ||
808 | { "10s", -1 }, | ||
809 | { "15s", -1 }, | ||
810 | { "20s", -1 }, | ||
811 | { "25s", -1 }, | ||
812 | { "30s", -1 }, | ||
813 | { "45s", -1 }, | ||
814 | { "60s", -1 } | ||
815 | }; | ||
730 | return set_option(str(LANG_FFRW_STEP), &global_settings.ff_rewind_min_step, | 816 | return set_option(str(LANG_FFRW_STEP), &global_settings.ff_rewind_min_step, |
731 | INT, names, 14, NULL ); | 817 | INT, names, 14, NULL ); |
732 | } | 818 | } |
@@ -739,11 +825,24 @@ static bool set_fade_on_stop(void) | |||
739 | 825 | ||
740 | static bool ff_rewind_accel(void) | 826 | static bool ff_rewind_accel(void) |
741 | { | 827 | { |
742 | char* names[] = { str(LANG_OFF), "2x/1s", "2x/2s", "2x/3s", | 828 | struct opt_items names[] = { |
743 | "2x/4s", "2x/5s", "2x/6s", "2x/7s", | 829 | { STR(LANG_OFF) }, |
744 | "2x/8s", "2x/9s", "2x/10s", "2x/11s", | 830 | { "2x/1s", -1 }, |
745 | "2x/12s", "2x/13s", "2x/14s", "2x/15s", }; | 831 | { "2x/2s", -1 }, |
746 | 832 | { "2x/3s", -1 }, | |
833 | { "2x/4s", -1 }, | ||
834 | { "2x/5s", -1 }, | ||
835 | { "2x/6s", -1 }, | ||
836 | { "2x/7s", -1 }, | ||
837 | { "2x/8s", -1 }, | ||
838 | { "2x/9s", -1 }, | ||
839 | { "2x/10s", -1 }, | ||
840 | { "2x/11s", -1 }, | ||
841 | { "2x/12s", -1 }, | ||
842 | { "2x/13s", -1 }, | ||
843 | { "2x/14s", -1 }, | ||
844 | { "2x/15s", -1 } | ||
845 | }; | ||
747 | return set_option(str(LANG_FFRW_ACCEL), &global_settings.ff_rewind_accel, | 846 | return set_option(str(LANG_FFRW_ACCEL), &global_settings.ff_rewind_accel, |
748 | INT, names, 16, NULL ); | 847 | INT, names, 16, NULL ); |
749 | } | 848 | } |