OpenTok.AudioData

public struct AudioData

Defines several parameters related to an audio sample batch.

Properties

Name Type Description
SampleBuffer IntPtr { get; } The buffer with the audio samples. The total size of the buffer is number_of_samplesnumber_of_channels(bits_per_sample/8).
BitsPerSample int { get; } Size in bits of each sample.
SampleRate int { get; } Bitrate of the samples in bits per second.
NumberOfChannels UIntPtr { get; } Number of audio channels.
NumberOfSamples UIntPtr { get; } Number of samples.