mirror of https://code.videolan.org/videolan/vlc
coreaudio: add back underrun handling
Regression from 370f785ef6
This is only used as debug purpose.
This commit is contained in:
parent
bc8627ed7c
commit
871ad624ac
|
@ -212,6 +212,7 @@ ca_Render(audio_output_t *p_aout, uint64_t host_time,
|
|||
vlc_frame_t *f = p_sys->p_out_chain;
|
||||
if (f == NULL)
|
||||
{
|
||||
p_sys->i_underrun_size += bytes;
|
||||
memset(data, 0, bytes);
|
||||
lock_unlock(p_sys);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue