coreaudio: fix sleep duration when the buffer is full
Compare changes
@@ -377,12 +377,13 @@ ca_Play(audio_output_t * p_aout, block_t * p_block, vlc_tick_t date)
The previous calculation was wrong and could lead to two potential issues:
To fix this issue, use the same sleep calculation than wasapi.
VideoLAN code repository instance