Struct nstd_audio::NSTDAudioStreamConfig[][src]

#[repr(C)]
pub struct NSTDAudioStreamConfig { pub channels: u16, pub sample_rate: u32, pub buffer_size: u32, pub format: NSTDAudioSampleFormat, }
Expand description

Represents a stream config. NOTE: buffer_size will be set to 0 for default.

Fields

channels: u16sample_rate: u32buffer_size: u32format: NSTDAudioSampleFormat

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.