[−][src]Struct pulsectl::controllers::types::ApplicationInfo
Fields
index: u32Index of the sink input.
name: Option<String>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.
connection_id: u32Index of the connected sink/source.
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.
connection_usec: MicroSecondsLatency of the sink device, see
def::TimingInfo for details.
resample_method: Option<String>The resampling method used by this sink input.
driver: Option<String>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.
Trait Implementations
impl AppControl<ApplicationInfo> for SinkController[src]
pub fn list_applications(
&mut self
) -> Result<Vec<ApplicationInfo>, ControllerError>[src]
&mut self
) -> Result<Vec<ApplicationInfo>, ControllerError>
pub fn get_app_by_index(
&mut self,
index: u32
) -> Result<ApplicationInfo, ControllerError>[src]
&mut self,
index: u32
) -> Result<ApplicationInfo, ControllerError>
pub fn increase_app_volume_by_percent(&mut self, index: u32, delta: f64)[src]
pub fn decrease_app_volume_by_percent(&mut self, index: u32, delta: f64)[src]
pub fn move_app_by_index(
&mut self,
stream_index: u32,
device_index: u32
) -> Result<bool, ControllerError>[src]
&mut self,
stream_index: u32,
device_index: u32
) -> Result<bool, ControllerError>
pub fn move_app_by_name(
&mut self,
stream_index: u32,
device_name: &str
) -> Result<bool, ControllerError>[src]
&mut self,
stream_index: u32,
device_name: &str
) -> Result<bool, ControllerError>
pub fn set_app_mute(
&mut self,
index: u32,
mute: bool
) -> Result<bool, ControllerError>[src]
&mut self,
index: u32,
mute: bool
) -> Result<bool, ControllerError>
impl AppControl<ApplicationInfo> for SourceController[src]
pub fn list_applications(
&mut self
) -> Result<Vec<ApplicationInfo>, ControllerError>[src]
&mut self
) -> Result<Vec<ApplicationInfo>, ControllerError>
pub fn get_app_by_index(
&mut self,
index: u32
) -> Result<ApplicationInfo, ControllerError>[src]
&mut self,
index: u32
) -> Result<ApplicationInfo, ControllerError>
pub fn increase_app_volume_by_percent(&mut self, index: u32, delta: f64)[src]
pub fn decrease_app_volume_by_percent(&mut self, index: u32, delta: f64)[src]
pub fn move_app_by_index(
&mut self,
stream_index: u32,
device_index: u32
) -> Result<bool, ControllerError>[src]
&mut self,
stream_index: u32,
device_index: u32
) -> Result<bool, ControllerError>
pub fn move_app_by_name(
&mut self,
stream_index: u32,
device_name: &str
) -> Result<bool, ControllerError>[src]
&mut self,
stream_index: u32,
device_name: &str
) -> Result<bool, ControllerError>
pub fn set_app_mute(
&mut self,
index: u32,
mute: bool
) -> Result<bool, ControllerError>[src]
&mut self,
index: u32,
mute: bool
) -> Result<bool, ControllerError>
impl Clone for ApplicationInfo[src]
pub fn clone(&self) -> ApplicationInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'a> From<&'a SinkInputInfo<'a>> for ApplicationInfo[src]
pub fn from(item: &'a SinkInputInfo<'a>) -> Self[src]
impl<'a> From<&'a SourceOutputInfo<'a>> for ApplicationInfo[src]
pub fn from(item: &'a SourceOutputInfo<'a>) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for ApplicationInfo[src]
impl Send for ApplicationInfo[src]
impl Sync for ApplicationInfo[src]
impl Unpin for ApplicationInfo[src]
impl UnwindSafe for ApplicationInfo[src]
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,
pub 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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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.
pub 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>,