chore: update cpal to latest Git, fix conflict
This PR is a prospective update of the cpal dependency to the latest Git version. It is not intended to be merged (at least until the next cpal release is cut); instead, it's intended as a version of rodio that can have its cpal patched with a fork of the ~current cpal HEAD (e.g. my https://github.com/RustAudio/cpal/pull/1027).
The only changes so far:
- running
cargo update -p objc2to break a dependency resolution conflict - replacing
From<Input> for cpal::DevicewithInput::into_inner, ascpalnow has a conflicting trait implementation. ~~I considered implementingInto, but the asymmetry of not having theFromis generally frowned upon.~~ (theFromblanket impl blocks this) - enables U24 support
- removes the
cpal-shared-stdcxxfeature, which activates the oboe backend for cpal, which has since been removed
Thanks for this preparatory work. Now that https://github.com/RustAudio/cpal/pull/1011 is merged, we can also enable the U24 sample format in stream.rs and microphone.rs.
Done and updated to the latest cpal 🙂
I'd like to release v0.17 soon. call for final testing! https://github.com/RustAudio/cpal/pull/1065
I'm currently on holiday and can't update my PRs, but that seems fine at a glance! Feel free to use this PR / close it / do whatever you need to :slightly_smiling_face:
Updated it to latest cpal master.
Just released cpal v0.1.70. Updating this PR to match and merging when the CI passes.