/// <summary> /// Read the samples from the mix. Always call after BeginMix. /// </summary> /// <remarks>This method will be bursted if the owning IAudioOutputJob is decorated with BurstCompileAttribute</remarks> /// <param name="buffer">A Float array of the samples</param> /// <param name="frameCount">The number of frames to read</param> /// <param name="channelCount">The number of channels to read</param> public void ReadMix(NativeArray <float> buffer, int frameCount, int channelCount) { m_Graph.ReadMix(buffer, frameCount, channelCount); }