Struct opentok::audio_device::AudioSample [−][src]
pub struct AudioSample {
pub data: AudioSampleData,
pub sampling_rate: i32,
pub number_of_channels: i32,
}
Expand description
High level storage for audio samples. The data size should correspond with the sampling_rate and number_of_channels (size = (sampling_rate / 1000) * number_of_channels).
Fields
data: AudioSampleData
sampling_rate: i32
number_of_channels: i32