The OpenSLES specifications 1.0.1 demonstrates the implementation for 3D audio. My interest is in specifying locations for a 3D audio source.
I tried implementing this in android 14 but it gave "SL_RESULT_FEATURE_UNSUPPORTED" as result. As informed in this link 3D Sound in OpenSL ES features like 3D location, Listener and in general all 3D features require the USE_PROFILES_GAME to be set.
Because OpenSLES is not an independent entity and depends on other system libraries(like wilhelm.so) I could not really compile that library independently. So I downloaded the entire android source, set USE_PROFILES_GAME flag, included the 3D related class in Android.mk which is by default excluded and then build the new system.
Now using the new android system image I am able to get the Location inferace but it doesn't seem to work i.e. I can't feel the location of my source audio changing.
Has anyone ever successfully implemented 3D audio features(especially 3D audio locations) in android? Is there any dependency of 3D audio features on mobile hardware?
Any help is appreciated.