pub struct AudioClockRegeneration {
pub n: u32,
pub cts: u32,
}Expand description
Audio Clock Regeneration (ACR) parameters
HDMI uses ACR packets to reconstruct the audio sampling clock at the sink. The relationship is: Fs = N * TMDS_clock / (128 * CTS)
The N and CTS values for standard sample rates at standard TMDS clock frequencies are defined in the HDMI specification.
Fields§
§n: u32N value (audio clock numerator)
cts: u32CTS value (Cycle Time Stamp, denominator)
Implementations§
Trait Implementations§
Source§impl Clone for AudioClockRegeneration
impl Clone for AudioClockRegeneration
Source§fn clone(&self) -> AudioClockRegeneration
fn clone(&self) -> AudioClockRegeneration
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioClockRegeneration
impl Debug for AudioClockRegeneration
Source§impl PartialEq for AudioClockRegeneration
impl PartialEq for AudioClockRegeneration
impl Copy for AudioClockRegeneration
impl Eq for AudioClockRegeneration
impl StructuralPartialEq for AudioClockRegeneration
Auto Trait Implementations§
impl Freeze for AudioClockRegeneration
impl RefUnwindSafe for AudioClockRegeneration
impl Send for AudioClockRegeneration
impl Sync for AudioClockRegeneration
impl Unpin for AudioClockRegeneration
impl UnwindSafe for AudioClockRegeneration
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)