diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-07-21 09:01:58 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-08-03 23:24:10 +0200 |
commit | e73ef014cdc3753f6f6a1d58c56a988e6cf02c0d (patch) | |
tree | adf42e4cf1b739d4ffdaeb40bb2a5b58f6cf7e8c | |
parent | 827c8815830333ce5446d180fee33444fadee1f5 (diff) | |
download | rockbox-e73ef014cdc3753f6f6a1d58c56a988e6cf02c0d.tar.gz rockbox-e73ef014cdc3753f6f6a1d58c56a988e6cf02c0d.zip |
Correct speech feedback for volume limit setting
Patch by Igor Poretsky
Change-Id: I514785b22701395ea1505cde2606ea59898ea6df
-rw-r--r-- | apps/menus/sound_menu.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c index 489d03bf4d..fb9a7fa26e 100644 --- a/apps/menus/sound_menu.c +++ b/apps/menus/sound_menu.c | |||
@@ -38,11 +38,6 @@ | |||
38 | #include "option_select.h" | 38 | #include "option_select.h" |
39 | #include "misc.h" | 39 | #include "misc.h" |
40 | 40 | ||
41 | static int32_t get_dec_talkid(int value, int unit) | ||
42 | { | ||
43 | return TALK_ID_DECIMAL(value, 1, unit); | ||
44 | } | ||
45 | |||
46 | static int volume_limit_callback(int action,const struct menu_item_ex *this_item) | 41 | static int volume_limit_callback(int action,const struct menu_item_ex *this_item) |
47 | { | 42 | { |
48 | (void)this_item; | 43 | (void)this_item; |
@@ -54,7 +49,7 @@ static int volume_limit_callback(int action,const struct menu_item_ex *this_item | |||
54 | volume_limit_int_setting.max = sound_max(SOUND_VOLUME); | 49 | volume_limit_int_setting.max = sound_max(SOUND_VOLUME); |
55 | volume_limit_int_setting.step = sound_steps(SOUND_VOLUME); | 50 | volume_limit_int_setting.step = sound_steps(SOUND_VOLUME); |
56 | volume_limit_int_setting.formatter = NULL; | 51 | volume_limit_int_setting.formatter = NULL; |
57 | volume_limit_int_setting.get_talk_id = get_dec_talkid; | 52 | volume_limit_int_setting.get_talk_id = NULL; |
58 | 53 | ||
59 | struct settings_list setting; | 54 | struct settings_list setting; |
60 | setting.flags = F_BANFROMQS|F_INT_SETTING|F_T_INT|F_NO_WRAP; | 55 | setting.flags = F_BANFROMQS|F_INT_SETTING|F_T_INT|F_NO_WRAP; |