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

feat(apple): added visionOS support #102

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
b9847d2
feat(apple): added visionOS support
eugenehp Jun 5, 2024
c267ed4
fixed typo in github action
eugenehp Jun 5, 2024
873bb31
replaced rust-toolchain with simple command line call in CI
eugenehp Jun 5, 2024
23d3167
latest LLVM
eugenehp Jun 5, 2024
61e5ad5
trying LLVM 17.0.6
eugenehp Jun 5, 2024
cfff858
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
69f824a
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
e06b1ac
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
7b7d542
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
18719e4
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
53545c8
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
345680d
Update coreaudio-sys.yml
eugenehp Jun 5, 2024
fadd3e1
added rust-src to visionos
eugenehp Jun 5, 2024
7cdd572
updated build.rs
eugenehp Jun 5, 2024
afd9d69
macOS-latest
eugenehp Jun 5, 2024
cf2ef1d
added Xcode Command Line Tools
eugenehp Jun 5, 2024
4630bb5
there's already LLVM for visionos
eugenehp Jun 5, 2024
a85974f
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
eugenehp Jun 5, 2024
c8c3e7e
list SDKs
eugenehp Jun 5, 2024
6d40624
COREAUDIO_SDK_PATH
eugenehp Jun 5, 2024
f64298e
print COREAUDIO_SDK_PATH in build.rs
eugenehp Jun 5, 2024
9505f17
xcodebuild -showsdks
eugenehp Jun 5, 2024
242bcfe
moved to Xcode_15.4
eugenehp Jun 5, 2024
14068bb
hack
eugenehp Jun 5, 2024
0155fdc
conditional coreaudio.h
eugenehp Jun 5, 2024
0689283
AudioUnit for visionos
eugenehp Jun 5, 2024
6170798
search for AudioUnit.h in CI
eugenehp Jun 5, 2024
4eecbe5
/Applications/Xcode_15.4.app
eugenehp Jun 5, 2024
cc554fe
target.contains("apple-ios")
eugenehp Jun 6, 2024
fc402e5
dump coreaudio.h
eugenehp Jun 6, 2024
af251a9
AudioUnit/AudioUnit
eugenehp Jun 6, 2024
70d368d
added Kernel.framework
eugenehp Jun 6, 2024
ed67234
reverse
eugenehp Jun 6, 2024
b129b3a
bump
eugenehp Jun 6, 2024
872175e
bump
eugenehp Jun 6, 2024
5062031
fixed https://github.com/RustAudio/coreaudio-sys/pull/102#discussion_…
eugenehp Jun 6, 2024
282ceba
https://github.com/RustAudio/coreaudio-sys/pull/102#discussion_r16298…
eugenehp Jun 6, 2024
34434c4
bring CoreMIDI back to visionos
eugenehp Jun 6, 2024
dd3e2dd
AudioToolbox/AudioUnit.h
eugenehp Jun 6, 2024
b54ac8b
added rust-toolchain.toml
eugenehp Jun 6, 2024
c0ad6b6
added other targets to rust-toolchain.toml
eugenehp Jun 6, 2024
bd715a8
apple-tier-3-check
eugenehp Jun 6, 2024
4dac4da
try default Xcode
eugenehp Jun 6, 2024
3eaa192
target.contains("apple-visionos")
eugenehp Jun 6, 2024
21ad6c5
comment out audio_toolbox for visionos
eugenehp Jun 6, 2024
d9cf135
temp comment out CoreAudioTypes for visionos
eugenehp Jun 6, 2024
149d06c
bump
eugenehp Jun 6, 2024
118ece5
cargo +nightly build
eugenehp Jun 6, 2024
51d5696
cargo fmt
eugenehp Jun 6, 2024
90edab5
adding CoreAudio back to visionos
eugenehp Jun 6, 2024
872095d
AudioToolbox for visionOS
eugenehp Jun 6, 2024
fc5aec4
and AudioUnit.h again
eugenehp Jun 6, 2024
7212e4d
arm64-apple-xros!!!!
eugenehp Jun 6, 2024
b91dbb5
Xcode_15.4.app
eugenehp Jun 6, 2024
685c316
include sim in the target
eugenehp Jun 6, 2024
623b16a
bringing back stable toolchain
eugenehp Jun 6, 2024
20876ab
cleanup
eugenehp Jun 8, 2024
3278aff
remove comments
eugenehp Jun 8, 2024
1d16260
AudioToolbox/AudioSesssion.h fixes kAudioSessionProperty_CurrentHardw…
eugenehp Jun 8, 2024
17eaa7c
better clan target matcher
eugenehp Jun 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
AudioToolbox/AudioSesssion.h fixes kAudioSessionProperty_CurrentHardw…
…areIOBufferDuration
eugenehp committed Jun 8, 2024

Verified

This commit was signed with the committer’s verified signature.
bdraco J. Nick Koston
commit 1d16260809496a7004a0201a7500d4dacf80b54a
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -80,6 +80,7 @@ fn build(sdk_path: Option<&str>, target: &str) {
{
println!("cargo:rustc-link-lib=framework=AudioToolbox");
headers.push("AudioToolbox/AudioToolbox.h");
headers.push("AudioToolbox/AudioSession.h");
}

#[cfg(feature = "core_audio")]