Skip to content

Commit

Permalink
coreaudio: add back underrun handling
Browse files Browse the repository at this point in the history
Regression from 370f785

This is only used as debug purpose.
  • Loading branch information
tguillem authored and jbkempf committed Dec 18, 2022
1 parent bc8627e commit 871ad62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/audio_output/coreaudio_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 871ad62

Please sign in to comment.