pub struct PulseInputSourceUpdater<'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> PulseInputSourceUpdater<'a>
impl<'a> PulseInputSourceUpdater<'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> PulseInputSourceUpdater<'a>
impl<'a> PulseInputSourceUpdater<'a>
Sourcepub fn set_default_device(self) -> Self
pub fn set_default_device(self) -> Self
Set the default PulseAudio input device
Trait Implementations§
Source§impl<'a> ObsObjectUpdater<'a> for PulseInputSourceUpdater<'a>
impl<'a> ObsObjectUpdater<'a> for PulseInputSourceUpdater<'a>
Auto Trait Implementations§
impl<'a> Freeze for PulseInputSourceUpdater<'a>
impl<'a> RefUnwindSafe for PulseInputSourceUpdater<'a>
impl<'a> Send for PulseInputSourceUpdater<'a>
impl<'a> Sync for PulseInputSourceUpdater<'a>
impl<'a> Unpin for PulseInputSourceUpdater<'a>
impl<'a> !UnwindSafe for PulseInputSourceUpdater<'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