Open
Description
Currently there are two places where an arbitrary delay is used to avoid buffer underruns in the webaudio host.
- On
Device::build_output_stream_raw
the first emitted buffer is delayed by 25ms. - On
Stream::play
a 10ms delay is introduced. @dpeckett just to clarify, this was to avoid a buffer underrun you were running into yes? Or was there another reason for this one?
It would be worth investigating to see if there's an alternative solution to avoiding early underruns.