跳转到内容

AudioDelivery

此内容尚不支持你的语言。

AudioDelivery = "bytes" | "url"

Defined in: audio/PlatformAudioBackend.ts:54

What a backend needs in order to play a clip: bytes decodes a buffer the caller fetched, url hands the host a source it fetches itself (a mini-game’s InnerAudioContext). A url backend given a cache KEY rather than a resolved source plays a file the package does not carry.