#[non_exhaustive]pub enum Pacing {
ExplicitFeedback {
endpoint: u8,
},
ImplicitFeedback {
interface_number: u8,
alt_setting: u8,
endpoint: u8,
},
Adaptive,
Synchronous,
Unsynchronized,
}Expand description
What keeps the host’s packets and the DAC’s clock in step on an endpoint: the transport’s pacing, named for diagnostics. It only labels what the transport does for the endpoint; it never selects a mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ExplicitFeedback
An asynchronous endpoint whose explicit feedback endpoint (endpoint,
the address) is polled; packet sizes follow the rate the DAC reports.
ImplicitFeedback
Packet frame counts follow a compatible capture audio endpoint.
Adaptive
An adaptive endpoint: the DAC follows the host’s packet timing.
Synchronous
A synchronous endpoint: the DAC and the host share the bus clock.
Unsynchronized
No rate information comes back from the DAC: the host sends at the
nominal rate. This is an asynchronous endpoint without a feedback
endpoint, streamed only because
DacConfig::allow_unsynchronized_async
is on (never bit-perfect), or an endpoint that declares no
synchronisation at all.