pub struct ConcealedAudioGap {
pub start_sample: i64,
pub end_sample: i64,
pub sample_rate: u32,
pub reason: &'static str,
}Expand description
An interval decoded as silence, at the decoder’s output sample rate: where damaged input was dropped, or where the stream’s timestamps jump.
Fields§
§start_sample: i64Inclusive source sample position.
end_sample: i64Exclusive source sample position.
sample_rate: u32Output samples per second.
reason: &'static strWhy silence was inserted: "corrupt input" or "timestamp gap".
Trait Implementations§
Source§impl Clone for ConcealedAudioGap
impl Clone for ConcealedAudioGap
Source§impl Debug for ConcealedAudioGap
impl Debug for ConcealedAudioGap
impl Eq for ConcealedAudioGap
Source§impl PartialEq for ConcealedAudioGap
impl PartialEq for ConcealedAudioGap
impl StructuralPartialEq for ConcealedAudioGap
Auto Trait Implementations§
impl Freeze for ConcealedAudioGap
impl RefUnwindSafe for ConcealedAudioGap
impl Send for ConcealedAudioGap
impl Sync for ConcealedAudioGap
impl Unpin for ConcealedAudioGap
impl UnsafeUnpin for ConcealedAudioGap
impl UnwindSafe for ConcealedAudioGap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.