commit | 7b814ba2fcf8badf65b1565c62bafc6561a2cac5 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@mobileer.com> | Wed Nov 11 07:30:52 2020 -0800 |
committer | Phil Burk <philburk@mobileer.com> | Wed Nov 18 10:29:42 2020 -0800 |
tree | 5546da0bff3d3136e89f4b6bc7e8d41d5eff617e | |
parent | f9bc95d1b89ab6d73d7275a091c3eef34661fb79 [diff] |
oboe: add AudioStreamDataCallback and AudioStreamErrorCallback This allows an app to use different callbacks for data processing and error processing. The AudioStreamCallback inherits from both interfaces. There is also a new method: bool onError() that allows an app to completely override the default error handling. This change is backwards compatible with older versions. Fixes #917
Oboe is a C++ library which makes it easy to build high-performance audio apps on Android. It was created primarily to allow developers to target a simplified API that works across multiple API levels back to API level 16 (Jelly Bean).
To build Oboe you‘ll need a compiler which supports C++14 and the Android header files. The easiest way to obtain these is by downloading the Android NDK r17 or above. It can be installed using Android Studio’s SDK manager, or via direct download.
We would love to receive your pull requests. Before we can though, please read the contributing guidelines.
View the releases page.