pub struct NativeCaptureBackend;Implementations§
Source§impl NativeCaptureBackend
impl NativeCaptureBackend
pub fn new() -> Self
pub fn start_live( &self, config: NativeCaptureConfig, ) -> AudioResult<Box<dyn ActiveListening>>
Trait Implementations§
Source§impl CaptureBackend for NativeCaptureBackend
impl CaptureBackend for NativeCaptureBackend
fn start( &self, config: NativeCaptureConfig, ) -> AudioResult<Box<dyn ActiveRecording>>
Source§impl DeviceEnumerator for NativeCaptureBackend
impl DeviceEnumerator for NativeCaptureBackend
fn list_input_devices(&self) -> AudioResult<Vec<InputDeviceInfo>>
fn set_default_input_device(&self, device_id: &str) -> AudioResult<()>
Auto Trait Implementations§
impl Freeze for NativeCaptureBackend
impl RefUnwindSafe for NativeCaptureBackend
impl Send for NativeCaptureBackend
impl Sync for NativeCaptureBackend
impl Unpin for NativeCaptureBackend
impl UnsafeUnpin for NativeCaptureBackend
impl UnwindSafe for NativeCaptureBackend
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