is oboe future-proof? #1327
Replies: 1 comment
-
OpenSL ES has been deprecated. So it will not have any new features added.
If you are doing native audio then we recommend using Oboe. On Android versions 8.1 or later it will use AAudio.
Java is surprisingly fast but native C++ is slightly faster. And you can get lower latency using Oboe because you can get a higher priority callback thread, and can use MMAP on some devices. Luckily Oboe/Audio API was inspired by PortAudio. The APIs are very similar. So converting your app from using PortAudio to Oboe should be very simple. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
i have written a cross-platform c++ voip library and uses portaudio for audio interaction; on Android i am using a portaudio fork that has implemented an OpenSLES backend and it works quite nicely.
However i found out that to use Acoustic Echo Cancel i cannot use OpenSLES so i have to rewrite the backend for android, now my doubts are:
Thanks for your thoughts
Beta Was this translation helpful? Give feedback.
All reactions