#[non_exhaustive]pub enum BitPerfectBlocker {
NoStream,
LostFrames,
FormatChanged,
ClockUnverified,
SoftwareGain,
UnsynchronizedAsync,
FeedbackUnlocked,
PayloadUnverified,
}Expand description
What stands in the way of DacStream::is_bit_perfect, most significant
first. None from DacStream::bit_perfect_blocker means nothing does.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoStream
The stream is closed or not running.
LostFrames
At least one frame queued to the DAC was never taken (latched for the life of the stream).
FormatChanged
The DAC runs another rate or format than the one requested
(RatePolicy::NearestSupported).
ClockUnverified
The DAC did not confirm its sampling frequency.
SoftwareGain
Software gain other than 1.0 is applied.
UnsynchronizedAsync
An asynchronous endpoint without a feedback endpoint, streamed at the
nominal rate because DacConfig::allow_unsynchronized_async is on.
FeedbackUnlocked
The wire payload audit has not seen real audio (yet), or lost it.
PayloadUnverified
Implementations§
Trait Implementations§
Source§impl Clone for BitPerfectBlocker
impl Clone for BitPerfectBlocker
impl Copy for BitPerfectBlocker
Source§impl Debug for BitPerfectBlocker
impl Debug for BitPerfectBlocker
impl Eq for BitPerfectBlocker
Source§impl PartialEq for BitPerfectBlocker
impl PartialEq for BitPerfectBlocker
impl StructuralPartialEq for BitPerfectBlocker
Auto Trait Implementations§
impl Forget for BitPerfectBlocker
impl Freeze for BitPerfectBlocker
impl Move for BitPerfectBlocker
impl RefUnwindSafe for BitPerfectBlocker
impl Send for BitPerfectBlocker
impl Sync for BitPerfectBlocker
impl Unpin for BitPerfectBlocker
impl UnsafeUnpin for BitPerfectBlocker
impl UnwindSafe for BitPerfectBlocker
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