I’ve been trying to put positional sound in my scene, but I hear no positional effects, just normal constant sound no matter how far away the camera is from the sound’s position.
I create the audio manager thus:
mAudioManager = AudioManager::create_AudioManager();
set up the AsyncTaskManager and its GenericAsyncTask to call ( to do the mAudioManager->update )
Load a sound file and set position (not moving):
PT(AudioSound) sound = mAudioManager->get_sound(file,true);
I have a Class that handles the camera movements using keyboard and mouse events and tasks, and when ever I update the position or orientation of the camera I call my function updateListener() that gets camera pos, front and up vectors and calls
Am I missing anything ?
Thanks for any help