[−][src]Struct libpulse_binding::context::introspect::SinkInfo
Stores information about sinks.
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 sink.
index: u32
Index of the sink.
description: Option<Cow<'a, str>>
Description of this sink.
sample_spec: Spec
Sample spec of this sink.
channel_map: Map
Channel map.
owner_module: Option<u32>
Index of the owning module of this sink, or None
if is invalid.
volume: ChannelVolumes
Volume of the sink.
mute: bool
Mute switch of the sink.
monitor_source: u32
Index of the monitor source connected to this sink.
monitor_source_name: Option<Cow<'a, str>>
The name of the monitor source.
latency: MicroSeconds
Length of queued audio in the output buffer.
driver: Option<Cow<'a, str>>
Driver name.
flags: SinkFlagSet
Flags.
proplist: Proplist
Property list.
configured_latency: MicroSeconds
The latency this device has been configured to.
base_volume: Volume
Some kind of “base” volume that refers to unamplified/unattenuated volume in the context of the output device.
state: SinkState
State.
n_volume_steps: u32
Number of volume steps for sinks which do not support arbitrary volumes.
card: Option<u32>
Card index, or None
if invalid.
ports: Vec<SinkPortInfo<'a>>
Set of available ports.
active_port: Option<Box<SinkPortInfo<'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> Sync for SinkInfo<'a>
impl<'a> Send for SinkInfo<'a>
impl<'a> Unpin for SinkInfo<'a>
impl<'a> RefUnwindSafe for SinkInfo<'a>
impl<'a> UnwindSafe for SinkInfo<'a>
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,