Skip to content

Address arbitrary stream delays introduced in webaudio host #409

Open
@mitchmindtree

Description

@mitchmindtree

Currently there are two places where an arbitrary delay is used to avoid buffer underruns in the webaudio host.

  1. On Device::build_output_stream_raw the first emitted buffer is delayed by 25ms.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions