mozilla / cubeb

Cross platform audio library
ISC License
442 stars 126 forks source link

cubeb_oss: Force at maximum 32ms service intervals. #686

Closed hselasky closed 2 years ago

hselasky commented 2 years ago

Also when the latency is specified to be very big. This might be a bug in some upper layer, although I see other cubeb audio drivers doing the same.

This "fixes" audio sync with youtube videos.

hselasky commented 2 years ago

@kinetiknz @khng300 FYI

This patch has been used with the FreeBSD Firefox port for a while without any issues.

https://www.freshports.org/www/firefox/

--HPS

hselasky commented 2 years ago

Oops - double patch submit.