[vlc-devel] [PATCH 2/3] wasapi: enable event-driven buffering

Rémi Denis-Courmont remi at remlab.net
Mon Sep 30 21:38:06 CEST 2019


Le maanantaina 30. syyskuuta 2019, 17.26.10 EEST Thomas Guillem a écrit :
> And remove the sleep in case of full buffer. This will improve low delay
> rendering.

I don't really see why. Low delay does not imply short buffers - so in fact, in 
low delay case, the buffer should never be even close to full, and thus there 
never should be a need to wait.

And if there is a need to way because of "high" delay / advance, then the 
thread will be descheduled, whether it is for a time-out, or for an event.
This patches just forces an interrupt, which potentially inhibits power 
management.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list