Enum cpal::DefaultFormatError
[−]
[src]
pub enum DefaultFormatError { DeviceNotAvailable, StreamTypeNotSupported, }
May occur when attempting to request the default input or output stream format from a Device
.
Variants
DeviceNotAvailable
The device no longer exists. This can happen if the device is disconnected while the program is running.
StreamTypeNotSupported
Returned if e.g. the default input format was requested on an output-only audio device.