Struct AudioClipUncompressed
AudioClipUncompressed is the audio clip's uncompressed data. It is in stereo, 16-bits-per-sample format. Audio clips are originally loaded into memory in AudioClipCompressed components. In the AudioClipLoadType is DecompressOnPlay, the AudioClipUncompressed component will be filled in after decompression is first performed. There is a build setting that affects the uncompressed audio memory limit. When it is exceeded, some AudioClipUncompressed components will be cleared out to save memory based on a least-recently-used policy.
Namespace: Unity.Tiny.Audio
Syntax
public struct AudioClipUncompressed : IBufferElementData
Fields
sample
Declaration
public short sample
Field Value
Type | Description |
---|---|
Int16 |