[][src]Struct miniaudio::DeviceConfigCapture

#[repr(transparent)]pub struct DeviceConfigCapture(_);

Implementations

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.