[−][src]Struct miniaudio::DeviceConfigCapture
Methods
impl DeviceConfigCapture
[src]
pub fn device_id(&self) -> Option<&DeviceId>
[src]
pub fn set_device_id(&mut self, maybe_device_id: Option<DeviceId>)
[src]
Sets the ID of the device that should be used. Be aware that this function will allocate once in order to reserve space for the device id.
pub fn format(&self) -> Format
[src]
pub fn set_format(&mut self, format: Format)
[src]
pub fn channels(&self) -> u32
[src]
pub fn set_channels(&mut self, channels: u32)
[src]
pub fn channel_map(&self) -> &[Channel; 32]
[src]
pub fn channel_map_mut(&mut self) -> &mut [Channel; 32]
[src]
pub fn share_mode(&self) -> ShareMode
[src]
pub fn set_share_mode(&mut self, share_mode: ShareMode)
[src]
Trait Implementations
impl Drop for DeviceConfigCapture
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceConfigCapture
impl !Send for DeviceConfigCapture
impl !Sync for DeviceConfigCapture
impl Unpin for DeviceConfigCapture
impl UnwindSafe for DeviceConfigCapture
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,
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.
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>,