pub struct PulseOutputSourceBuilder { /* private fields */ }Available on Linux only.
Expand description
A source for PulseAudio audio input.
This source captures audio from PulseAudio devices on Linux systems. PulseAudio is a higher-level sound server that sits on top of ALSA and provides more advanced audio routing and mixing capabilities.
Implementations§
Source§impl PulseOutputSourceBuilder
impl PulseOutputSourceBuilder
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 PulseOutputSourceBuilder
impl PulseOutputSourceBuilder
Sourcepub fn set_default_device(self) -> Self
pub fn set_default_device(self) -> Self
Set the default PulseAudio output device
Trait Implementations§
Source§impl Debug for PulseOutputSourceBuilder
impl Debug for PulseOutputSourceBuilder
Source§impl ObsObjectBuilder for PulseOutputSourceBuilder
impl ObsObjectBuilder for PulseOutputSourceBuilder
fn new<T: Into<ObsString> + Send + Sync>( name: T, runtime: ObsRuntime, ) -> Result<Self, ObsError>
fn get_settings(&self) -> &ObsData
fn get_settings_updater(&mut self) -> &mut ObsDataUpdater
fn get_hotkeys(&self) -> &ObsData
fn get_hotkeys_updater(&mut self) -> &mut ObsDataUpdater
fn build(self) -> Result<ObjectInfo, ObsError>
Source§impl ObsSourceBuilder for PulseOutputSourceBuilder
impl ObsSourceBuilder for PulseOutputSourceBuilder
fn add_to_scene(self, scene: &mut ObsSceneRef) -> Result<ObsSourceRef, ObsError>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for PulseOutputSourceBuilder
impl RefUnwindSafe for PulseOutputSourceBuilder
impl Send for PulseOutputSourceBuilder
impl Sync for PulseOutputSourceBuilder
impl Unpin for PulseOutputSourceBuilder
impl UnwindSafe for PulseOutputSourceBuilder
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