Example #1
0
 /// <summary>Fills the specified buffer with samples from the internal capture ring-buffer. This method does not block: it is an error to specify a sampleCount larger than AvailableSamples.</summary>
 /// <param name="buffer">A pointer to a previously initialized and pinned array.</param>
 /// <param name="sampleCount">The number of samples to be written to the buffer.</param>
 public void ReadSamples(IntPtr buffer, int sampleCount)
 {
     Alc.CaptureSamples(Handle, buffer, sampleCount);
 }