[−][src]Struct agorartc_sys::agorartc::AudioPlaybackDeviceManager
Implementations
impl AudioPlaybackDeviceManager
[src]
pub fn get_count(&self) -> i32
[src]
pub fn get_device(&self, index: i32) -> (String, String, i32)
[src]
pub fn get_current_device(&self) -> (String, i32)
[src]
pub fn get_current_deivce_info(&self) -> (String, String, i32)
[src]
pub fn set_device(&self, device_id: &str) -> i32
[src]
pub fn set_device_volume(&self, volume: i32) -> i32
[src]
pub fn get_device_volume(&self) -> (i32, i32)
[src]
pub fn set_device_mute(&self, mute: bool) -> i32
[src]
pub fn get_deivce_mute(&self) -> (bool, i32)
[src]
pub fn start_device_test(&self, test_audio_file_path: &str) -> i32
[src]
pub fn stop_device_test(&self) -> i32
[src]
pub fn start_audio_device_loopback_test(&self, indication_interval: i32) -> i32
[src]
pub fn stop_audio_device_loopback_test(&self) -> i32
[src]
Trait Implementations
impl Debug for AudioPlaybackDeviceManager
[src]
impl Drop for AudioPlaybackDeviceManager
[src]
Auto Trait Implementations
impl RefUnwindSafe for AudioPlaybackDeviceManager
impl !Send for AudioPlaybackDeviceManager
impl !Sync for AudioPlaybackDeviceManager
impl Unpin for AudioPlaybackDeviceManager
impl UnwindSafe for AudioPlaybackDeviceManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,