summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorStéphane Doyon <s.doyon@videotron.ca>2007-10-10 03:57:42 +0000
committerStéphane Doyon <s.doyon@videotron.ca>2007-10-10 03:57:42 +0000
commit1b89d588e108176400d3d9756a9627726f1038ce (patch)
tree129467b8fd04c903e08b6d864ad8cdf8407dcf8d /apps
parent3e31d509553efc5155c7b0b878fa1f24f8975bf0 (diff)
Accessible keyboard: guard the beep with talk_menus_enabled()
rather than the beep setting from the playback settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15062 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/keyboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index eb49140f8c..ea068b2569 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -828,8 +828,8 @@ int kbd_input(char* text, int buflen)
{
int c = utf8seek(text, ++editpos);
kbd_spellchar(text[c]);
- } else if(global_settings.beep)
- pcmbuf_beep(1000, 150, 1500*global_settings.beep);
+ } else if(talk_menus_enabled())
+ pcmbuf_beep(1000, 150, 1500);
}
else
#endif /* KBD_MODES */
@@ -870,8 +870,8 @@ int kbd_input(char* text, int buflen)
{
int c = utf8seek(text, --editpos);
kbd_spellchar(text[c]);
- } else if(global_settings.beep)
- pcmbuf_beep(1000, 150, 1500*global_settings.beep);
+ } else if(talk_menus_enabled())
+ pcmbuf_beep(1000, 150, 1500);
}
else
#endif /* KBD_MODES */