Enum nannou_audio::DefaultStreamConfigError [−][src]
pub enum DefaultStreamConfigError {
DeviceNotAvailable,
StreamTypeNotSupported,
BackendSpecific {
err: BackendSpecificError,
},
}
Expand description
May occur when attempting to request the default input or output stream format from a Device
.
Variants
The device no longer exists. This can happen if the device is disconnected while the program is running.
Returned if e.g. the default input format was requested on an output-only audio device.
See the BackendSpecificError
docs for more information about this error variant.
Fields of BackendSpecific
err: BackendSpecificError
Trait Implementations
Performs the conversion.