Skip to content

AudioOutputService

Plays PCM for providers that synthesize audio themselves.

open(format, signal?): Promise<AudioOutputSession>

Opens a playback session. Makes no sound, and validates the format: one outside the rule on AudioOutputFormat throws CapabilityMismatch with details.code audio_format_unsupported. An aborted signal rejects the open with an AbortError, as a cancelled fetch does.

AudioOutputFormat

AbortSignalLike

Promise<AudioOutputSession>