<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hello, thanks for this report.<br></div><div><br></div><div>The trick is to do like the wasapi aout:, In case of error, sleep a little and try again instead of trashing the data.<br></div><div><br></div><div>cf. modules/audio_output/wasapi.c<br></div><div>        /* Out of buffer space, sleep */<br></div><div>        msleep(sys->frames * (CLOCK_FREQ / 2) / sys->rate);<br></div><div><br></div><div>I can work on a fix, but I won't have time until next week.<br></div><div><br></div><div>On Wed, Jul 15, 2020, at 04:20, Afriza N. Arief wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Hello,<br></div><div><br></div><div>When playing video files to decklink mini monitor 4k, I get a ton of <a href="https://www.google.com/search?q=vlc+%22written+only+0+samples+out+of%22" class="qt-gmail-postlink" style="font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:1px;border-left-width:0px;border-top-style:initial;border-right-style:initial;border-bottom-style:solid;border-left-style:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:rgb(93, 143, 189);border-left-color:initial;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:"Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;vertical-align:baseline;direction:ltr;text-decoration-line:none;color:rgb(93, 143, 189);background-color:rgb(225, 235, 242);">"Written only 0 samples out of 1024"</a> messages and the sound keeps missing and appearing very quickly..<br></div><div><br></div><div>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 <a href="https://forum.videolan.org/viewtopic.php?f=13&t=154241">bisecting the repo</a>, I found that the problem seems to be caused by commit 576b4da8d674d8a98dd493e9b343f1875efde047<br></div><div><br></div><div>I tested tag 3.0.11 with  commit 576b4da8d6 reverted and the problem disappeared.<br></div><div><br></div><div>Thank you,<br></div><div><br></div><div>Arief<br></div><div><br></div><div>Original Post: <a href="https://forum.videolan.org/viewtopic.php?f=13&t=154241">https://forum.videolan.org/viewtopic.php?f=13&t=154241</a><br></div></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div></blockquote><div><br></div></body></html>