Merge pull request #468 from endragor/android-support

Android support via Oboe
This commit is contained in:
mitchmindtree 2020-10-27 12:26:33 +01:00 • committed by GitHub
commit f8775b1e7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 867 additions and 0 deletions

View file

@ -45,3 +45,9 @@ stdweb = { version = "0.1.3", default-features = false }
wasm-bindgen = { version = "0.2.58", optional = true }
js-sys = { version = "0.3.35" }
web-sys = { version = "0.3.35", features = [ "AudioContext", "AudioContextOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioNode", "AudioDestinationNode", "Window", "AudioContextState"] }
[target.'cfg(target_os = "android")'.dependencies]
oboe = { version = "0.2.1", features = [ "java-interface" ] }
ndk = "0.2"
ndk-glue = "0.2"
jni = "0.17"