Struct SampleBufferArray
A simple structure representing an array of sample buffers
Inherited Members
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 |