#[non_exhaustive]pub enum Quirk {
Show 24 variants
SkipClockValidation,
IgnoreInvalidSampleRate,
RequireVerifiedRate,
SettleDelayMs(u64),
PreferPadded24BitTransport,
DsdSubslotSize(u8),
DsdBigEndian,
DsdBitReverse,
ExplicitFeedbackPerServiceInterval,
ControlMessageDelayUs(u64),
InterfaceDelayMs(u64),
SetInterfaceFirst,
PlaybackUrbFixup,
SkipSampleRateReadback,
SkipImplicitFeedback,
MixerPlaybackMinMute,
MixerPlaybackLinearVolume,
RawDsd32Be,
FixedRate,
ImplicitSilenceOnEmpty,
SkipClockSelectorWrites,
IgnoreOptionalControlErrors,
TxLengthPrefix,
PlaybackFirst,
}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). Permit acknowledged PCM SET in an unverified tier.
IgnoreInvalidSampleRate
The DAC reports a rate that differs from the one just set (some report 0 Hz) while playing correctly; zero remains unverified and positive mismatches are refused.
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.
ControlMessageDelayUs(u64)
Wait after class-control requests, including failed replies.
InterfaceDelayMs(u64)
Wait after a successful SET_INTERFACE.
SetInterfaceFirst
Activate the proven playback alternate before clock programming.
PlaybackUrbFixup
Start with twelve URBs where the 255-packet cap permits.
SkipSampleRateReadback
Omit unreliable frequency GET_CUR; retain CLOCK_UNVERIFIED.
SkipImplicitFeedback
Refuse implicit sources for this device.
MixerPlaybackMinMute
The verified raw minimum means silence on playback volume controls.
MixerPlaybackLinearVolume
The playback raw range is linear amplitude from silence to unity.
RawDsd32Be
Exact source-backed RAW_DATA UAC2 alternate uses 32-bit big-endian words.
FixedRate
Skip a rate write only after fixed descriptor and exact live rate proof.
ImplicitSilenceOnEmpty
Replace at most one empty implicit completion with measured-cadence silence.
SkipClockSelectorWrites
Read current clock selector pins but never rewrite them.
IgnoreOptionalControlErrors
Skip unusable optional mixer controls; never waive rate, attenuation or SET proof.
TxLengthPrefix
Exact Zoom standard PCM OUT profile: four-byte LE audio-length prefix.
PlaybackFirst
Start bounded nominal OUT silence before a proven implicit IN source.