diff --git a/src/sound.c b/src/sound.c index f5f9cf3..cb5820d 100644 --- a/src/sound.c +++ b/src/sound.c @@ -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);