Struct tox::av::AudioBit [-]  [+] [src]

pub struct AudioBit {
    pub pcm: Vec<i16>,
    pub samples: u32,
    pub channels: u8,
    pub sample_rate: u32,
}

Fields

pcm
samples
channels
sample_rate

Methods

impl AudioBit

fn validate(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for AudioBit

fn clone(&self) -> AudioBit

fn clone_from(&mut self, source: &Self)