#[non_exhaustive]pub enum Quirk {
SkipClockValidation,
IgnoreInvalidSampleRate,
RequireVerifiedRate,
SettleDelayMs(u64),
PreferPadded24BitTransport,
DsdSubslotSize(u8),
DsdBigEndian,
DsdBitReverse,
ExplicitFeedbackPerServiceInterval,
}Expand description
One behaviour switch for a device. Only switches the transport actually honours are listed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SkipClockValidation
The clock readback is unreliable (GET_CUR/GET_RANGE return 0 or fail). Trust SET_CUR for PCM and skip verification.
IgnoreInvalidSampleRate
The DAC reports a rate that differs from the one just set (some report 0 Hz) while playing correctly; do not refuse over the mismatch (PCM).
RequireVerifiedRate
Refuse to stream unless the DAC confirms the sampling frequency, even
if DacConfig::require_verified_rate is off.
SettleDelayMs(u64)
Wait this many milliseconds after programming the clock.
PreferPadded24BitTransport
Prefer the 4-byte subslot over the 3-byte one for 24-bit PCM.
DsdSubslotSize(u8)
Override the subslot size (1, 2 or 4 bytes) of native DSD alternate settings, for devices whose descriptors are wrong or ambiguous.
DsdBigEndian
Native DSD words go on the wire most-significant byte first.
DsdBitReverse
Reverse the bit order within each native DSD byte.
ExplicitFeedbackPerServiceInterval
Decode four-byte high-speed feedback as frames per OUT service interval. Opt in only with a device trace proving these units (e.g. Linux UAC2 gadget). No built-in device enables this compatibility rule.