API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfacePlayable

@codexo/exojs / audio / stable

Implemented by audio assets (Sound, AudioStream, AudioGenerator) to support system-driven playback via AudioSystem.play. Assets are **data descriptors** - they hold the audio data and default playback parameters. The playback machinery lives in the Voice returned by `createVoice`; the system is injected at play time, so assets never reach for a global. `createVoice` is a low-level hook meant for asset implementations; consumers should call `audioSystem.play(asset)` instead of invoking it directly.

0
props
1
methods
0
events
Import
import { Playable } from '@codexo/exojs'

Implemented by audio assets (Sound, AudioStream, AudioGenerator) to support system-driven playback via AudioSystem.play.

Assets are **data descriptors** - they hold the audio data and default playback parameters. The playback machinery lives in the Voice returned by `createVoice`; the system is injected at play time, so assets never reach for a global.

`createVoice` is a low-level hook meant for asset implementations; consumers should call `audioSystem.play(asset)` instead of invoking it directly.

Methods1
Source