AudioBufferStats
此内容尚不支持你的语言。
Defined in: audio/Audio.ts:54
Buffer residency counters. See AudioAPI.getBufferStats.
Properties
Section titled “Properties”bufferBudget
Section titled “bufferBudget”bufferBudget:
number
Defined in: audio/Audio.ts:60
The effective byte budget (0 = warm cache off).
bufferBytes
Section titled “bufferBytes”bufferBytes:
number
Defined in: audio/Audio.ts:58
Unique decoded bytes resident (held + evictable entries).
bufferCount
Section titled “bufferCount”bufferCount:
number
Defined in: audio/Audio.ts:56
Authored cache entries; aliases can share one decoded allocation.
evictableCount
Section titled “evictableCount”evictableCount:
number
Defined in: audio/Audio.ts:62
Warm-cache entries (refCount 0) awaiting revive or eviction.
streamedCount
Section titled “streamedCount”streamedCount:
number
Defined in: audio/Audio.ts:64
Clips played from their compressed file instead of being decoded (unique, not per alias).
streamedSavedBytes
Section titled “streamedSavedBytes”streamedSavedBytes:
number
Defined in: audio/Audio.ts:66
The PCM those clips did not take, estimated from their length: what bufferBytes would be if they were decoded.