mozilla / cubeb

Cross platform audio library
ISC License
439 stars 124 forks source link

Implement client side interpolation for `cubeb_aaudio.cpp` #729

Open padenot opened 1 year ago

padenot commented 1 year ago

The clock updates with a granularity that is too coarse (at least for Firefox), we need to implement client side interpolation with e.g. clock_gettime so that cubeb_stream_get_position can give an accurate position at any time.