Struct libpulse_binding::context::ext_stream_restore::Info [−][src]
pub struct Info<'a> { pub name: Option<Cow<'a, str>>, pub channel_map: Map, pub volume: ChannelVolumes, pub device: Option<Cow<'a, str>>, pub mute: bool, }
Stores information about one entry in the stream database that is maintained by module-stream-restore.
Fields
name: Option<Cow<'a, str>>
Identifier string of the stream. A string like "sink-input-by-role:" or similar followed by some arbitrary property value.
channel_map: Map
The channel map for the volume field, if applicable.
volume: ChannelVolumes
The volume of the stream when it was seen last, if applicable and saved.
device: Option<Cow<'a, str>>
The sink/source of the stream when it was last seen, if applicable and saved.
mute: bool
The boolean mute state of the stream when it was last seen, if applicable and saved.