Enum cpal::BuildStreamError [−][src]
pub enum BuildStreamError { DeviceNotAvailable, StreamConfigNotSupported, InvalidArgument, StreamIdOverflow, BackendSpecific { err: BackendSpecificError, }, }
Expand description
Error that can happen when creating a Stream
.
Variants
The device no longer exists. This can happen if the device is disconnected while the program is running.
The specified stream configuration is not supported.
We called something the C-Layer did not understand
On ALSA device functions called with a feature they do not support will yield this. E.g. Trying to use capture capabilities on an output only format yields this.
Occurs if adding a new Stream ID would cause an integer overflow.
See the BackendSpecificError
docs for more information about this error variant.
Fields of BackendSpecific
err: BackendSpecificError
Trait Implementations
Performs the conversion.