[−][src]Struct libpulse_binding::context::introspect::SourceInfo
Stores information about sources.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
name: Option<Cow<'a, str>>Name of the source.
index: u32Index of the source.
description: Option<Cow<'a, str>>Description of this source.
sample_spec: SpecSample spec of this source.
channel_map: MapChannel map.
owner_module: Option<u32>Owning module index, or None.
volume: ChannelVolumesVolume of the source.
mute: boolMute switch of the sink.
monitor_of_sink: Option<u32>If this is a monitor source, the index of the owning sink, otherwise None.
monitor_of_sink_name: Option<Cow<'a, str>>Name of the owning sink, or None.
latency: MicroSecondsLength of filled record buffer of this source.
driver: Option<Cow<'a, str>>Driver name.
flags: SourceFlagSetFlags.
proplist: ProplistProperty list.
configured_latency: MicroSecondsThe latency this device has been configured to.
base_volume: VolumeSome kind of “base” volume that refers to unamplified/unattenuated volume in the context of the input device.
state: SourceStateState.
n_volume_steps: u32Number of volume steps for sources which do not support arbitrary volumes.
card: Option<u32>Card index, or None.
ports: Vec<SourcePortInfo<'a>>Set of available ports.
active_port: Option<Box<SourcePortInfo<'a>>>Pointer to active port in the set, or None.
formats: Vec<Info>Set of formats supported by the sink.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourceInfo<'a>
impl<'a> Send for SourceInfo<'a>
impl<'a> Sync for SourceInfo<'a>
impl<'a> Unpin for SourceInfo<'a>
impl<'a> UnwindSafe for SourceInfo<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,