[][src]Struct gstreamer_audio::AudioStreamAlign

pub struct AudioStreamAlign(_);

Implementations

impl AudioStreamAlign[src]

pub fn new(
    rate: i32,
    alignment_threshold: ClockTime,
    discont_wait: ClockTime
) -> AudioStreamAlign
[src]

pub fn get_alignment_threshold(&self) -> ClockTime[src]

pub fn get_discont_wait(&self) -> ClockTime[src]

pub fn get_rate(&self) -> i32[src]

pub fn get_samples_since_discont(&self) -> u64[src]

pub fn get_timestamp_at_discont(&self) -> ClockTime[src]

pub fn mark_discont(&mut self)[src]

pub fn set_alignment_threshold(&mut self, alignment_threshold: ClockTime)[src]

pub fn set_discont_wait(&mut self, discont_wait: ClockTime)[src]

pub fn set_rate(&mut self, rate: i32)[src]

impl AudioStreamAlign[src]

pub fn process(
    &mut self,
    discont: bool,
    timestamp: ClockTime,
    n_samples: u32
) -> (bool, ClockTime, ClockTime, u64)
[src]

Trait Implementations

impl Clone for AudioStreamAlign[src]

impl Debug for AudioStreamAlign[src]

impl Eq for AudioStreamAlign[src]

impl Hash for AudioStreamAlign[src]

impl Ord for AudioStreamAlign[src]

impl PartialEq<AudioStreamAlign> for AudioStreamAlign[src]

impl PartialOrd<AudioStreamAlign> for AudioStreamAlign[src]

impl Send for AudioStreamAlign[src]

impl StaticType for AudioStreamAlign[src]

impl StructuralEq for AudioStreamAlign[src]

impl StructuralPartialEq for AudioStreamAlign[src]

impl Sync for AudioStreamAlign[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.