docs.unity3d.com
    Show / Hide Table of Contents

    Struct SampleBufferArray

    A simple structure representing an array of sample buffers

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Audio
    Syntax
    public struct SampleBufferArray

    Properties

    Count

    The number of sample buffers in the array

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    Methods

    GetSampleBuffer(Int32)

    Get a sample buffer

    Declaration
    public SampleBuffer GetSampleBuffer(int index)
    Parameters
    Type Name Description
    Int32 index

    The index of the sample buffer to be retrieved

    Returns
    Type Description
    SampleBuffer

    The requested sample buffer

    Exceptions
    Type Condition
    IndexOutOfRangeException

    Thrown when the index is out of range

    Back to top
    Terms of use
    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