[package] name = "audio_capture_playback_android_spike" version = "0.1.0" edition = "2021" publish = false description = "Chanora PoC: Android mobile half of the audio capture/playback spike. cdylib loaded by the Kotlin app via JNI; cpal targets the Oboe backend on Android." # Not product code. See docs/architecture/proof-of-concept-plan.md §4. # Closes the mobile half of the PoC audio exit criterion left open by # poc/audio-capture-playback-spike on Linux desktop. [lib] name = "audio_capture_playback_android_spike" crate-type = ["cdylib"] path = "src/lib.rs" [dependencies] # cpal automatically selects the Oboe backend on Android — platform-native # per DEC-011. cpal links the Oboe native library through ndk-glue. cpal = "0.16" hound = "3" jni = { version = "0.21", default-features = false } thiserror = "2" # Android-specific logging: route `log` macros to logcat. [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.14" log = "0.4" ndk-context = "0.1" # Required by cpal at build time on Android. [target.'cfg(target_os = "android")'.build-dependencies]