avfaudio

Crates.ioavfaudio
lib.rsavfaudio
version0.0.4
created_at2024-06-08 16:28:32.366342+00
updated_at2025-04-07 01:27:24.000841+00
descriptionRust library to setup AVAudioSession from Apple's AVFAudio framework
homepagehttps://github.com/eugenehp/avfaudio-rs
repositoryhttps://github.com/eugenehp/avfaudio-rs
max_upload_size
id1265828
size20,686
Eugene Hauptmann (eugenehp)

documentation

README

avfaudio

A rust version of setting up AVFAudio and AVAudioSession.

Based on https://github.com/eugenehp/avfaudio-sys

[!WARNING]
Work in progress. This library implements only AVAudioSession category setting for now. For full bindings check avfaudio2-sys.

Development

Build

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

Run example

cargo run --example session

Authors

Copyright (c) 2024-2025 Eugene Hauptmann

License

MIT

Commit count: 15

cargo fmt