Exemple #1
0
 /// <summary>
 /// Fetches raw audio data from this audio frame for specified channel.
 /// </summary>
 /// <param name="channel">The index of audio channel that should be retrieved, allowed range: [0..<see cref="NumChannels"/>).</param>
 /// <returns>The span with samples in range of [-1.0, ..., 1.0].</returns>
 public ReadOnlySpan <float> GetChannelData(uint channel)
 {
     return(frame.GetChannelData(channel));
 }