Skip to content

AudioConfig

Defined in: audio/src/types.ts:17

optional autoMuteOnBlur?: boolean

Defined in: audio/src/types.ts:22

Pause audio when the window loses focus or the tab is hidden. Default: true.


optional channels?: Record<string, ChannelConfig>

Defined in: audio/src/types.ts:20


optional masterVolume?: number

Defined in: audio/src/types.ts:19

Master volume multiplier. Must be finite and from 0 to 1. Default: 1.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/audio.md.