mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
(video processor) Update
This commit is contained in:
parent
2e52141b39
commit
ccfd9a8937
@ -101,6 +101,9 @@ static void audio_callback(void)
|
||||
const int frames = snd_pcm_readi(audio_handle,
|
||||
audio_data, sizeof(audio_data) / 4);
|
||||
|
||||
if (frames < 0)
|
||||
snd_pcm_recover(audio_handle, frames, true);
|
||||
else
|
||||
VIDEOPROC_CORE_PREFIX(audio_sample_batch_cb)(audio_data, frames);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user