mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
PCM buffer beeping needs the audio buffer reset in order to work after operations that trash the buffer or keyclick won't be audible until playback is restarted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19413 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc57381707
commit
826688e699
7 changed files with 42 additions and 0 deletions
|
|
@ -1167,6 +1167,10 @@ 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