summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-13 06:01:08 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-13 06:01:08 +0000
commit93572e2a9e651b7d0bffae491da3d2ece2f0c2d2 (patch)
treeec4f1b6c6634b4e6d70aee6165e60d91b6201b7e /apps/recorder
parentbdcdf8b5e463a581f67639db9d0bd6735ac218e0 (diff)
downloadrockbox-93572e2a9e651b7d0bffae491da3d2ece2f0c2d2.tar.gz
rockbox-93572e2a9e651b7d0bffae491da3d2ece2f0c2d2.zip
Keyclick fixup take two. It is only 88 samples (2msec) long so keep a small static buffer around for beeps less than or equal to keyclick duration. This way it operates no matter the buffer state and still won't interfere with alternate PCM operations like recording or plugin playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19415 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/pcm_record.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/recorder/pcm_record.c b/apps/recorder/pcm_record.c
index bc6a532f2f..8642150b18 100644
--- a/apps/recorder/pcm_record.c
+++ b/apps/recorder/pcm_record.c
@@ -1167,10 +1167,6 @@ static void pcmrec_close(void)
pcm_close_recording();
reset_hardware();
audio_remove_encoder();
-#ifndef HAVE_HARDWARE_BEEP
- /* Restore keyclicks */
- audio_buffer_reset();
-#endif
} /* pcmrec_close */
/* PCMREC_OPTIONS */