0
0

if anyone can help i would appreciate it. i have the following problem:
i set all sounds to play on hardware, 3d, no looping. so far so good. sound is updated right, i can hear the sound when i turn "my head". but i really need attenuation so i set the channel flag to fmod_3d_linearrolloff with 100 as minimum and a number over 1000 as maximum. now attenuation works perfectly but sound does not update, i hear it like it would be 3D_HEAD_RELATIVE, in both speakers no matter what position.

Nevermind about this, i figured it out. The rolloff system and pan system don’t seem to work with each other so i let the rolloff to default and set minmax distances as if they were working and i manualy calculated the distance between the source and the listener and adjusted the volume accordingly. Someone from FMOD should check the rolloff out.

  • You must to post comments
0
0

Check out the "3d" example – 3d sound works fine. You can’t call setPan on a 3d sound, by making it 3d you’re telling FMOD to handle the panning.

  • You must to post comments
0
0

i did not call pan, i was letting fmod handle it alone but it wasn’t working.

  • You must to post comments
0
0

Rolloff doesnt affect anything if linear mode is used. That is only for log rolloff mode.
Are you using the dev branch or the stable branch? There is possibly a fix in dev branch related to this but I can’t remember just now, i’m not at the office.

  • You must to post comments
0
0

i was using stable release and it happened just as i said in the earlier post

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.