Method AddAudioFrame
AddAudioFrame(NativeArray<float>)
Encodes an array of audio values and adds it to the audio stream.
Declaration
void AddAudioFrame(NativeArray<float> bytes)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<float> | bytes | The array of bytes to encode. |
Remarks
The number of channels is determined by the number of speakers in the scene.