Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

OpenTok.AudioData Struct Reference

Defines several parameters related to an audio sample batch. More...

Public Attributes

IntPtr SampleBuffer => sample_buffer
 The buffer with the audio samples. The total size of the buffer is number_of_samples*number_of_channels*(bits_per_sample/8) More...
int BitsPerSample => bits_per_sample
 Size in bits of each sample More...
int SampleRate => sample_rate
 Bitrate of the samples in bits per second More...
UIntPtr NumberOfChannels => number_of_channels
 Number of audio channels More...
UIntPtr NumberOfSamples => number_of_samples
 Number of samples More...

Detailed Description

Defines several parameters related to an audio sample batch.

Member Data Documentation

◆ BitsPerSample

int OpenTok.AudioData.BitsPerSample => bits_per_sample

Size in bits of each sample

◆ NumberOfChannels

UIntPtr OpenTok.AudioData.NumberOfChannels => number_of_channels

Number of audio channels

◆ NumberOfSamples

UIntPtr OpenTok.AudioData.NumberOfSamples => number_of_samples

Number of samples

◆ SampleBuffer

IntPtr OpenTok.AudioData.SampleBuffer => sample_buffer

The buffer with the audio samples. The total size of the buffer is number_of_samples*number_of_channels*(bits_per_sample/8)

◆ SampleRate

int OpenTok.AudioData.SampleRate => sample_rate

Bitrate of the samples in bits per second