mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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
This commit is contained in:
parent
bdcdf8b5e4
commit
93572e2a9e
12 changed files with 52 additions and 63 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue