Search code examples
androidaudioopenalaudiotrack

3D Audio Library for Android


I have searched everywhere on the internet for a solution for this and I can't seem to find a definitive answer.

Basically, I'm looking to implement a 3D audio environment on the android platform. What I'm searching for is an android library that is capable of placing sounds in a virtual space using something like a coordinate system.

I am aware that iOS has OpenAL, but is there an Android equivalent? I am also aware of the existence of the AudioTrack class, but I'm looking for something a little less primitive.

Thanks in advance.


Solution

  • Thanks for your advice all.

    I was searching the internet and I found this OpenAL library for Android which uses the NDK: OpenAL4Android.

    It has enough features implemented for what I need, allowing you to build up a fairly complex 3D audio scene.

    If anyone is looking for instructions on how to get and use the NDK, look here: Android NDK. (I suggest reading the whole thing)

    Just to clarify, it was quite easy to get it working.