make oboe's shared-stdcxx feature accessible

This commit is contained in:
Carl Scherer
2023-02-07 19:34:16 +01:00
parent e1e33c1acf
commit 5a7769e5d8
2 changed files with 5 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ edition = "2021"
[features]
asio = ["asio-sys", "num-traits"] # Only available on Windows. See README for setup instructions.
oboe-shared-stdcxx = ["oboe/shared-stdcxx"] # Only available on Android. See README for what it does.
[dependencies]
thiserror = "1.0"

View File

@@ -38,6 +38,10 @@ Some audio backends are optional and will only be compiled with a [feature flag]
- JACK (on Linux): `jack`
- ASIO (on Windows): `asio`
Oboe can either use a shared or static runtime. The static runtime is used by default, but activating the
`oboe-shared-stdcxx` feature makes it use the shared runtime, which requires `libc++_shared.so` from the Android NDK to
be present during execution.
## ASIO on Windows
[ASIO](https://en.wikipedia.org/wiki/Audio_Stream_Input/Output) is an audio