Crates.io | avfaudio |
lib.rs | avfaudio |
version | 0.0.2 |
source | src |
created_at | 2024-06-08 16:28:32.366342 |
updated_at | 2024-06-08 20:00:42.877486 |
description | Rust library to setup AVAudioSession from Apple's AVFAudio framework |
homepage | https://github.com/eugenehp/avfaudio-rs |
repository | https://github.com/eugenehp/avfaudio-rs |
max_upload_size | |
id | 1265828 |
size | 19,522 |
A rust version of setting up AVFAudio and AVAudioSession.
Based on https://github.com/eugenehp/avfaudio-sys
[!WARNING]
Work in progress. This library implements onlyAVAudioSession
category setting for now. For full bindings check avfaudio2-sys.
Build on your host system (mac):
cargo build
Or specify target like aarch64-apple-visionos
, rest of the parameters are needed for the nightly
rust toolchain, since visionOS is a Tier 3 target.
cargo +nightly build -Zbuild-std --target aarch64-apple-visionos
cargo run --example session
Copyright (c) 2024 Eugene Hauptmann