Struct nannou_audio::stream::Builder[][src]

pub struct Builder<M, S = f32> {
    pub model: M,
    pub sample_rate: Option<u32>,
    pub channels: Option<usize>,
    pub frames_per_buffer: Option<usize>,
    pub device_buffer_size: Option<BufferSize>,
    pub device: Option<Device>,
    // some fields omitted
}
Expand description

Stream building parameters that are common between input and output streams.

Fields

model: Msample_rate: Option<u32>channels: Option<usize>frames_per_buffer: Option<usize>device_buffer_size: Option<BufferSize>device: Option<Device>

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.