[−][src]Struct gstreamer_audio::AudioStreamAlign
Implementations
impl AudioStreamAlign
[src]
pub fn new(
rate: i32,
alignment_threshold: ClockTime,
discont_wait: ClockTime
) -> AudioStreamAlign
[src]
rate: i32,
alignment_threshold: ClockTime,
discont_wait: ClockTime
) -> AudioStreamAlign
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]
&mut self,
discont: bool,
timestamp: ClockTime,
n_samples: u32
) -> (bool, ClockTime, ClockTime, u64)
Trait Implementations
impl Clone for AudioStreamAlign
[src]
pub fn clone(&self) -> AudioStreamAlign
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AudioStreamAlign
[src]
impl Eq for AudioStreamAlign
[src]
impl Hash for AudioStreamAlign
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for AudioStreamAlign
[src]
pub fn cmp(&self, other: &AudioStreamAlign) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<AudioStreamAlign> for AudioStreamAlign
[src]
pub fn eq(&self, other: &AudioStreamAlign) -> bool
[src]
pub fn ne(&self, other: &AudioStreamAlign) -> bool
[src]
impl PartialOrd<AudioStreamAlign> for AudioStreamAlign
[src]
pub fn partial_cmp(&self, other: &AudioStreamAlign) -> Option<Ordering>
[src]
pub fn lt(&self, other: &AudioStreamAlign) -> bool
[src]
pub fn le(&self, other: &AudioStreamAlign) -> bool
[src]
pub fn gt(&self, other: &AudioStreamAlign) -> bool
[src]
pub fn ge(&self, other: &AudioStreamAlign) -> bool
[src]
impl Send for AudioStreamAlign
[src]
impl StaticType for AudioStreamAlign
[src]
pub fn static_type() -> Type
[src]
impl StructuralEq for AudioStreamAlign
[src]
impl StructuralPartialEq for AudioStreamAlign
[src]
impl Sync for AudioStreamAlign
[src]
Auto Trait Implementations
impl RefUnwindSafe for AudioStreamAlign
impl Unpin for AudioStreamAlign
impl UnwindSafe for AudioStreamAlign
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
pub fn to_send_value(&self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,