pub struct HdmiEld {
pub eld_ver: u8,
pub baseline_len: u8,
pub cea_edid_ver: u8,
pub monitor_name: String,
pub sad_count: u8,
pub sads: Vec<ShortAudioDescriptor>,
pub conn_type: u8,
pub supports_arc: bool,
pub supports_ai: bool,
pub port_id: u64,
pub manufacturer_id: u16,
pub product_code: u16,
}Expand description
ELD (EDID-Like Data) for HDMI audio sink capabilities
The ELD block is provided by the GPU driver after reading the EDID from the connected display. It contains information about the audio capabilities of the sink device (TV, receiver, soundbar).
Fields§
§eld_ver: u8ELD version (2 for CEA version compatible)
baseline_len: u8Baseline ELD length (in 32-bit words)
cea_edid_ver: u8CEA EDID version
monitor_name: StringMonitor name string
sad_count: u8Number of supported Short Audio Descriptors
sads: Vec<ShortAudioDescriptor>Short Audio Descriptors
conn_type: u8Connection type (0 = HDMI, 1 = DisplayPort)
supports_arc: boolSupports audio return channel (ARC)
supports_ai: boolSupports AI (audio input)
port_id: u64Port ID for multi-output GPUs
manufacturer_id: u16Manufacturer vendor ID
product_code: u16Product code
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HdmiEld
impl RefUnwindSafe for HdmiEld
impl Send for HdmiEld
impl Sync for HdmiEld
impl Unpin for HdmiEld
impl UnwindSafe for HdmiEld
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)