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: AudioSampleDatasampling_rate: i32number_of_channels: i32

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.