summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-12-24 08:42:45 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-12-24 08:42:45 +0000
commitdfa95c334b9cffff28059e0de39ae5305e315ee6 (patch)
tree486ed4df9a36170768e68eef2546ab072bb57c7f /apps
parent35c69283d4728c9f94d7a5c47026036bec3e17c4 (diff)
downloadrockbox-dfa95c334b9cffff28059e0de39ae5305e315ee6.tar.gz
rockbox-dfa95c334b9cffff28059e0de39ae5305e315ee6.tar.bz2
rockbox-dfa95c334b9cffff28059e0de39ae5305e315ee6.zip
different kind of recording beep: more faint, but not disturbing prerecording, can beep while we already record (no latency due to beep)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5511 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 71cd20d797..7ba59cb0ab 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -322,25 +322,25 @@ 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));
update_countdown = 1; /* Update immediately */
last_seconds = 0;
+ if (global_settings.talk_menu)
+ { /* no voice possible here, but a beep */
+ mpeg_beep(HZ/2); /* longer beep on start */
+ }
}
else
{
if(mpeg_status() & MPEG_STATUS_PAUSE)
{
+ mpeg_resume_recording();
if (global_settings.talk_menu)
{ /* no voice possible here, but a beep */
- mpeg_beep(0,HZ/8); /* short beep on resume */
+ mpeg_beep(HZ/4); /* short beep on resume */
}
- mpeg_resume_recording();
}
else
{