Skip to content

Function: useAudioPlayerActions() ​

useAudioPlayerActions(target?): AudioPlayerActions

Defined in: audio/composables.ts:31

Resolve the current audio player on each call. Unready actions are never queued.

Parameters ​

target? ​

AudioPlayerTarget

Explicit player target, or injected audio context when omitted.

Returns ​

AudioPlayerActions

Playback commands bound to the current player.