Now that UnsupportedValue is no longer part of AudioError thanks to all enums having a proper __Unknown(x) catch-all (making the enum API a whole lot more convenient to users), this #[error] enum is just a wrapper struct with only one variant.
Instead, drop AudioError and its thiserror wrapping completely, and import Error directly on the aaudio_result_tenum that is also renamed to AudioError.
Depends on #459
Now that
UnsupportedValue
is no longer part ofAudioError
thanks to all enums having a proper__Unknown(x)
catch-all (making theenum
API a whole lot more convenient to users), this#[error]
enum is just a wrapper struct with only one variant.Instead, drop
AudioError
and itsthiserror
wrapping completely, and importError
directly on theaaudio_result_t
enum
that is also renamed toAudioError
.