pub enum AoError {
NoDriver,
NotFile,
NotLive,
BadOption,
OpenDevice,
OpenFile,
FileExists,
BadFormat,
Unknown,
}Result of (most) operations that may fail.
Variants
NoDriver | No driver is available.
This means either:
* There is no driver matching the requested name
* There are no usable audio output devices
|
NotFile | The specified driver does not do file output.
|
NotLive | The specified driver does not do live output.
|
BadOption | A known driver option has an invalid value.
|
OpenDevice | Could not open the output device.
For example, if /dev/dsp could not be opened with the OSS driver.
|
OpenFile | Could not open the output file.
|
FileExists | The specified file already exists.
|
BadFormat | The requested stream format is not supported.
This is usually the result of an invalid channel matrix.
|
Unknown | |
Trait Implementations
Derived Implementations