pub struct PulseOutputSourceUpdater<'a> { /* private fields */ }Available on Linux only.
Expand description
Used to update the source this updater was created from. For more details look at docs for the corresponding builder.
Implementations§
Source§impl<'a> PulseOutputSourceUpdater<'a>
impl<'a> PulseOutputSourceUpdater<'a>
Sourcepub fn set_device_id<T: Into<ObsString> + Sync + Send>(
self,
device_id: T,
) -> Self
pub fn set_device_id<T: Into<ObsString> + Sync + Send>( self, device_id: T, ) -> Self
PulseAudio device name/ID
Source§impl<'a> PulseOutputSourceUpdater<'a>
impl<'a> PulseOutputSourceUpdater<'a>
Sourcepub fn set_default_device(self) -> Self
pub fn set_default_device(self) -> Self
Set the default PulseAudio output device
Trait Implementations§
Source§impl<'a> ObsObjectUpdater<'a, *mut obs_source> for PulseOutputSourceUpdater<'a>
impl<'a> ObsObjectUpdater<'a, *mut obs_source> for PulseOutputSourceUpdater<'a>
type ToUpdate = ObsSourceRef
fn create_update( runtime: ObsRuntime, updatable: &'a mut Self::ToUpdate, ) -> Result<Self, ObsError>
fn get_settings(&self) -> &ObsData
fn runtime(&self) -> &ObsRuntime
fn get_settings_updater(&mut self) -> &mut ObsDataUpdater
fn update(self) -> Result<(), ObsError>
Auto Trait Implementations§
impl<'a> Freeze for PulseOutputSourceUpdater<'a>
impl<'a> !RefUnwindSafe for PulseOutputSourceUpdater<'a>
impl<'a> Send for PulseOutputSourceUpdater<'a>
impl<'a> Sync for PulseOutputSourceUpdater<'a>
impl<'a> Unpin for PulseOutputSourceUpdater<'a>
impl<'a> UnsafeUnpin for PulseOutputSourceUpdater<'a>
impl<'a> !UnwindSafe for PulseOutputSourceUpdater<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more