pub struct SoftwareFormat {
pub sample_rate: i32,
pub format: SoundFormat,
pub num_output_channels: i32,
pub max_input_channels: i32,
pub resample_method: DspResampler,
pub bits: i32,
}
Expand description
Wrapper for arguments of
Sys::set_software_format
and
Sys::get_software_format
.
Fields§
§sample_rate: i32
§format: SoundFormat
§num_output_channels: i32
§max_input_channels: i32
§resample_method: DspResampler
§bits: i32
Trait Implementations§
Source§impl Default for SoftwareFormat
impl Default for SoftwareFormat
Source§fn default() -> SoftwareFormat
fn default() -> SoftwareFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SoftwareFormat
impl RefUnwindSafe for SoftwareFormat
impl Send for SoftwareFormat
impl Sync for SoftwareFormat
impl Unpin for SoftwareFormat
impl UnwindSafe for SoftwareFormat
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