What are 3D game writers doing about audio?
All that cocos2d-x’s own audio support is lacking to provide fairly reasonable 3d audio is to be able to control pan in addition to gain. Annoyingly, although SimpleAudioEngine does allow pan and gain to be set when issuing an effect, you cannot then adjust either while the effect is playing. AudioEngine, on the other hand, has setVolume which lets you adjust the gain of an effect while it plays, but it has no support for setting pan at all. It’s so close to being a perfectly usable API, but it isn’t quite.
I see recommendations for using fmod, but my game is written in Lua and see no information on driving fmod from a Lua-based game.