Clear sound_cd_event in CD audio thread. Patch from ja've.
This commit is contained in:
parent
2f73338081
commit
c3b876524d
1 changed files with 1 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ static void sound_cd_thread(void *param)
|
|||
int c;
|
||||
|
||||
thread_wait_event(sound_cd_event, -1);
|
||||
thread_reset_event(sound_cd_event);
|
||||
memset(cd_buffer, 0, CD_BUFLEN*2 * 2);
|
||||
ioctl_audio_callback(cd_buffer, CD_BUFLEN*2);
|
||||
image_audio_callback(cd_buffer, CD_BUFLEN*2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue