0
0

Hi

When I create a sound using the default flag FMOD_2D, and then call Sound::setMode( FMOD_3D ) later, spatialization is not used.

However when I use Channel::setMode( FMOD_3D ), this works fine.

I read in the manual that this should work for both Channel::setMode() and Sound::setMode(), provided FMOD_SOFTWARE is used (on win32).

Also I tested passing FMOD_3D to createSound(), and then passing FMOD_3D_WORLDRELATIVE or FMOD_3D_HEADRELATIVE (with location = 0,0,0) to setMode(). I found that Channel::setMode() works as expected, but Sound::setMode() seems to leave the speaker levels as they were for the last 3D sound, when playing 2D sounds.

This isn’t a serious problem, since using Channel::setMode() is better for us anyway, but maybe this isn’t intended behaviour.

Best Regards

Justin

  • You must to post comments
0
0

[quote="brett":m7mrseki]actually it seems to be working correctly, maybe you misunderstood that the change only takes place once you play the sound again? It wont take effect on already playing instances of that sound.
I’ve updated the docs to reflect this bit of information.[/quote:m7mrseki]

The sound isn’t actually playing when the calls are made, however the playSound() call has been made – I’m telling playSound() to start paused. Maybe the calls just need to be made before the playSound() call.

Thanks

Justin

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.