Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndk/audio: Merge AudioResult variant enum into AudioError #467

Merged
merged 1 commit into from
Feb 4, 2024

Commits on Feb 4, 2024

  1. ndk/audio: Merge AudioResult variant enum into AudioError

    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_t` `enum` that is
    also renamed to `AudioError`.
    MarijnS95 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    c1494d5 View commit details
    Browse the repository at this point in the history