Progressive audio playback for AudioMedia handles with a
uniform surface across PCM (streamed) and container
(HTMLAudioElement) strategies.
The Svelte binding mirrors the React / Vue equivalents: reactive
state is exposed as getters on the returned handle and templates
read player.status / player.currentTime directly.
useAudioPlayer(
media: ValueOrGetter<AudioMedia | undefined>,
options: UseAudioPlayerOptions
): AudioPlayerHandle| Name | Type | Description |
|---|---|---|
media* | ValueOrGetter<AudioMedia | undefined> | |
options | UseAudioPlayerOptions |
Audio handle from useAudio (plain value or getter).
Strategy overrides and PCM format hints.