Closed karasusan closed 1 year ago
AudioStreamTrack.SetData is not able to called from the worker thread.
This PR adds public void SetData(ReadOnlySpan span, int channels, int sampleRate) to set audio buffer from the worker thread.
AudioStreamTrack.SetData is not able to called from the worker thread.
This PR adds public void SetData(ReadOnlySpan span, int channels, int sampleRate) to set audio buffer from the worker thread.