Struct libpulse_binding::context::introspect::SinkInputInfo
source · pub struct SinkInputInfo<'a> {Show 18 fields
pub index: u32,
pub name: Option<Cow<'a, str>>,
pub owner_module: Option<u32>,
pub client: Option<u32>,
pub sink: u32,
pub sample_spec: Spec,
pub channel_map: Map,
pub volume: ChannelVolumes,
pub buffer_usec: MicroSeconds,
pub sink_usec: MicroSeconds,
pub resample_method: Option<Cow<'a, str>>,
pub driver: Option<Cow<'a, str>>,
pub mute: bool,
pub proplist: Proplist,
pub corked: bool,
pub has_volume: bool,
pub volume_writable: bool,
pub format: Info,
}Expand description
Stores information about sink inputs.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
index: u32Index of the sink input.
name: Option<Cow<'a, str>>Name of the sink input.
owner_module: Option<u32>Index of the module this sink input belongs to, or None when it does not belong to any
module.
client: Option<u32>Index of the client this sink input belongs to, or invalid when it does not belong to any client.
sink: u32Index of the connected sink.
sample_spec: SpecThe sample specification of the sink input.
channel_map: MapChannel map.
volume: ChannelVolumesThe volume of this sink input.
buffer_usec: MicroSecondsLatency due to buffering in sink input, see
::def::TimingInfo for details.
sink_usec: MicroSecondsLatency of the sink device, see
::def::TimingInfo for details.
resample_method: Option<Cow<'a, str>>The resampling method used by this sink input.
driver: Option<Cow<'a, str>>Driver name.
mute: boolStream muted.
proplist: ProplistProperty list.
corked: boolStream corked.
has_volume: boolStream has volume. If not set, then the meaning of this struct’s volume member is unspecified.
volume_writable: boolThe volume can be set. If not set, the volume can still change even though clients can’t control the volume.
format: InfoStream format information.