AudioBufferHandle
Defined in: audio/PlatformAudioBackend.ts:32
Properties
Section titled “Properties”bytes?
Section titled “bytes?”
readonlyoptionalbytes?:number
Defined in: audio/PlatformAudioBackend.ts:45
Decoded size in bytes, for the audio residency budget. Backends that hold real decoded PCM (WebAudio) report it; streaming backends (WeChat InnerAudioContext plays from file) omit it — 0/undefined means untracked, and untracked entries never count against the budget.
duration
Section titled “duration”
readonlyduration:number
Defined in: audio/PlatformAudioBackend.ts:34
readonlyid:number
Defined in: audio/PlatformAudioBackend.ts:33
savedBytes?
Section titled “savedBytes?”
readonlyoptionalsavedBytes?:number
Defined in: audio/PlatformAudioBackend.ts:38
The PCM a streamed clip did not take, estimated from its length.
streamed?
Section titled “streamed?”
readonlyoptionalstreamed?:boolean
Defined in: audio/PlatformAudioBackend.ts:36
Played from the compressed file, not decoded: bytes is then 0 and savedBytes is what decoding would have cost.