pub struct AudioDeviceController { /* private fields */ }Implementations§
Source§impl AudioDeviceController
impl AudioDeviceController
pub fn playout_devices(&self) -> i16
pub fn recording_devices(&self) -> i16
pub fn playout_device_name(&self, index: u16) -> String
pub fn recording_device_name(&self, index: u16) -> String
pub fn playout_device_guid(&self, index: u16) -> String
pub fn recording_device_guid(&self, index: u16) -> String
pub fn set_playout_device(&self, index: u16) -> bool
pub fn set_recording_device(&self, index: u16) -> bool
pub fn set_playout_device_by_guid(&self, guid: String) -> bool
pub fn set_recording_device_by_guid(&self, guid: String) -> bool
pub fn stop_recording(&self) -> bool
pub fn init_recording(&self) -> bool
pub fn start_recording(&self) -> bool
pub fn recording_is_initialized(&self) -> bool
pub fn stop_playout(&self) -> bool
pub fn init_playout(&self) -> bool
pub fn start_playout(&self) -> bool
pub fn playout_is_initialized(&self) -> bool
pub fn builtin_aec_is_available(&self) -> bool
pub fn builtin_agc_is_available(&self) -> bool
pub fn builtin_ns_is_available(&self) -> bool
pub fn enable_builtin_aec(&self, enable: bool) -> bool
pub fn enable_builtin_agc(&self, enable: bool) -> bool
pub fn enable_builtin_ns(&self, enable: bool) -> bool
pub fn set_adm_recording_enabled(&self, enabled: bool)
pub fn adm_recording_enabled(&self) -> bool
pub fn set_adm_playout_enabled(&self, enabled: bool)
pub fn adm_playout_enabled(&self) -> bool
pub fn acquire_platform_adm(&self) -> bool
pub fn release_platform_adm(&self)
pub fn platform_adm_ref_count(&self) -> i32
pub fn is_platform_adm_active(&self) -> bool
Trait Implementations§
Source§impl ExternType for AudioDeviceController
impl ExternType for AudioDeviceController
impl Send for AudioDeviceController
impl Sync for AudioDeviceController
Auto Trait Implementations§
impl !Freeze for AudioDeviceController
impl !Unpin for AudioDeviceController
impl RefUnwindSafe for AudioDeviceController
impl UnsafeUnpin for AudioDeviceController
impl UnwindSafe for AudioDeviceController
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