[vlc-devel] regression: sound often missing and appearing in decklink card

Thomas Guillem thomas at gllm.fr
Wed Jul 15 11:17:22 CEST 2020


Hello, thanks for this report.

The trick is to do like the wasapi aout:, In case of error, sleep a little and try again instead of trashing the data.

cf. modules/audio_output/wasapi.c
        /* Out of buffer space, sleep */
        msleep(sys->frames * (CLOCK_FREQ / 2) / sys->rate);

I can work on a fix, but I won't have time until next week.

On Wed, Jul 15, 2020, at 04:20, Afriza N. Arief wrote:
> Hello,
> 
> When playing video files to decklink mini monitor 4k, I get a ton of "Written only 0 samples out of 1024" <https://www.google.com/search?q=vlc+%22written+only+0+samples+out+of%22> messages and the sound keeps missing and appearing very quickly..
> 
> After investigation, the problem exists in version 3.0.10 and 3.0.11 but doesn't exist in version 3.0.8. And after bisecting the repo <https://forum.videolan.org/viewtopic.php?f=13&t=154241>, I found that the problem seems to be caused by commit 576b4da8d674d8a98dd493e9b343f1875efde047
> 
> I tested tag 3.0.11 with commit 576b4da8d6 reverted and the problem disappeared.
> 
> Thank you,
> 
> Arief
> 
> Original Post: https://forum.videolan.org/viewtopic.php?f=13&t=154241
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200715/b7c40640/attachment.html>


More information about the vlc-devel mailing list