Struct AudioClipUncompressed | Project Tiny | 0.32.0-preview.54
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023