Struct audio_visualizer::dynamic::live_input::AudioDevAndCfg[][src]

pub struct AudioDevAndCfg { /* fields omitted */ }
Expand description

Describes the audio input device that should be used and the config for the input stream. Caller must be certain, that the config works for the given device on the current platform.

Implementations

Creates an instance. If no device is passed, it falls back to the default input device of the system.

Getter for audio device.

Getter for audio input stream config.

Trait Implementations

Formats the value using the given formatter. Read more

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.