Struct linuxvideo::Output
source · pub struct Output(_);Expand description
Information about a device output.
Implementations§
source§impl Output
impl Output
sourcepub fn output_type(&self) -> OutputType
pub fn output_type(&self) -> OutputType
Returns what kind of device this output is.
sourcepub fn audioset(&self) -> u32
pub fn audioset(&self) -> u32
Returns the set of selectable audio sources when this output is active.
This may return 0 even if the device supports audio inputs to indicate that the application cannot choose an audio input.
sourcepub fn modulator(&self) -> u32
pub fn modulator(&self) -> u32
Returns the modulator index if this input is of type OutputType::MODULATOR.
For non-modulator outputs, this value should be ignored.
sourcepub fn capabilities(&self) -> OutputCapabilities
pub fn capabilities(&self) -> OutputCapabilities
Returns the capability flags of this output.