pub struct ScratchampClkProtocol;
Expand description
The protocol implementation for media and sampling clock of Scratchamp.
Trait Implementations§
Source§impl Debug for ScratchampClkProtocol
impl Debug for ScratchampClkProtocol
Source§impl Default for ScratchampClkProtocol
impl Default for ScratchampClkProtocol
Source§fn default() -> ScratchampClkProtocol
fn default() -> ScratchampClkProtocol
Returns the “default value” for a type. Read more
Source§impl MediaClockFrequencyOperation for ScratchampClkProtocol
impl MediaClockFrequencyOperation for ScratchampClkProtocol
Source§fn cache_freq(
avc: &BebobAvc,
params: &mut MediaClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_freq( avc: &BebobAvc, params: &mut MediaClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache the state of media clock to the parameters.
Source§fn update_freq(
avc: &BebobAvc,
params: &MediaClockParameters,
old: &mut MediaClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_freq( avc: &BebobAvc, params: &MediaClockParameters, old: &mut MediaClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware by the given parameter. This operation can involve INTERIM AV/C
response to expand response time of AV/C transaction.
Source§impl SamplingClockSourceOperation for ScratchampClkProtocol
impl SamplingClockSourceOperation for ScratchampClkProtocol
Source§const DST: SignalAddr
const DST: SignalAddr
The destination plug address for source signal.
Source§const SRC_LIST: &'static [SignalAddr]
const SRC_LIST: &'static [SignalAddr]
The list of supported sources expressed by plug address.
Source§fn cache_src(
avc: &BebobAvc,
params: &mut SamplingClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_src( avc: &BebobAvc, params: &mut SamplingClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache the state of sampling clock to the parameters.
Source§fn update_src(
avc: &BebobAvc,
params: &SamplingClockParameters,
old: &mut SamplingClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_src( avc: &BebobAvc, params: &SamplingClockParameters, old: &mut SamplingClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware by the given parameter. This operation can involve INTERIM AV/C
response to expand response time of AV/C transaction.
Auto Trait Implementations§
impl Freeze for ScratchampClkProtocol
impl RefUnwindSafe for ScratchampClkProtocol
impl Send for ScratchampClkProtocol
impl Sync for ScratchampClkProtocol
impl Unpin for ScratchampClkProtocol
impl UnwindSafe for ScratchampClkProtocol
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