Skip to content

Release with cpal 0.18, needed for visionOS #898

Description

@SkeletonGamer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions