Summary
Sets the audio samples into the specified frame buffer with the given channel count and sample rate.
Syntax
public int SetSamples(float[] frameBuffer, ChannelCount channelCount, int sampleRate)
Parameters
| Name | Type | Description |
|---|---|---|
| frameBuffer | float[] | The buffer to store the audio samples. |
| channelCount | ChannelCount | The number of audio channels. |
| sampleRate | int | The audio sample rate. |
Return Value
| Type | Description |
|---|---|
| int | The number of frames set in the buffer. |