Release with cpal 0.18, needed for visionOS

Open
#898 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
24/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
release

Research direction

Read the release process and the changes already merged in #891, which moved the project to cpal 0.18. The issue says no repository code change is needed; check whether a release is planned and identify the project’s release steps. Done means a rodio release includes cpal 0.18 so visionOS builds can use the updated dependency.

Written by the indexing model from the issue text.

Description

0.22.2 still requires cpal 0.17, which requires mach2 0.5, and mach2 0.5 refuses to build for
aarch64-apple-visionos:

error: mach requires macOS or iOS

master already moved to cpal 0.18 in #891, and cpal 0.18 requires mach2 0.6, which builds for every
Apple vendor. So nothing is needed in this repository beyond a release.

With master, plus RustAudio/cpal#1262 which declares the AVAudioSession dependencies on visionOS, I
get sound on the visionOS 26.2 simulator: DeviceSinkBuilder::open_default_sink opens the default
device and a SineWave plays, built for aarch64-apple-visionos-sim and run through
xcrun simctl spawn.

Is a release planned? Happy to help if anything is blocking it.

Dominant language
Rust
Stars
2.5k
Forks
338
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RustAudio/rodio

All issues in RustAudio/rodio

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.