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.
0.22.2 still requires cpal 0.17, which requires mach2 0.5, and mach2 0.5 refuses to build for
aarch64-apple-visionos: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_sinkopens the defaultdevice and a
SineWaveplays, built foraarch64-apple-visionos-simand run throughxcrun simctl spawn.Is a release planned? Happy to help if anything is blocking it.