pub struct Config {
pub channels: c_uint,
pub rate: c_uint,
pub buffer_time: c_uint,
pub period_time: c_uint,
pub period_size: c_ulong,
}Available on crate feature
alsa only.Expand description
The stream configuration used after the configurator has been successfully installed.
Fields§
§channels: c_uintThe number of channels being used.
rate: c_uintThe configured sample rate being used.
buffer_time: c_uintThe configured buffer time.
period_time: c_uintThe configured period time.
period_size: c_ulongThe configured period size in frames.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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