summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-12-21 23:49:43 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-12-21 23:49:43 +0000
commit3bf321ff1c515da30357f830c435f3cb1c8d899e (patch)
tree8b08236188bc09dc952fa184832ad049fbd3bd1b /apps
parentbfba2d20280dde9981c6f4d25b79734db13f1998 (diff)
downloadrockbox-3bf321ff1c515da30357f830c435f3cb1c8d899e.tar.gz
rockbox-3bf321ff1c515da30357f830c435f3cb1c8d899e.tar.bz2
rockbox-3bf321ff1c515da30357f830c435f3cb1c8d899e.zip
aid for blind recorders: longer beep when starting a recording, short beep when resuming it (you may disable the voice UI to get rid of it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5502 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index d67124a6cf..71cd20d797 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -322,6 +322,10 @@ bool recording_screen(void)
/* Only act if the mpeg is stopped */
if(!(mpeg_status() & MPEG_STATUS_RECORD))
{
+ if (global_settings.talk_menu)
+ { /* no voice possible here, but a beep */
+ mpeg_beep(0,HZ/4); /* longer beep on start */
+ }
have_recorded = true;
talk_buffer_steal(); /* we use the mp3 buffer */
mpeg_record(rec_create_filename(path_buffer));
@@ -332,6 +336,10 @@ bool recording_screen(void)
{
if(mpeg_status() & MPEG_STATUS_PAUSE)
{
+ if (global_settings.talk_menu)
+ { /* no voice possible here, but a beep */
+ mpeg_beep(0,HZ/8); /* short beep on resume */
+ }
mpeg_resume_recording();
}
else