I have a problem that is I get noise when I call playSound function with below settings.
Would you please tell me what the problem is?
I have been testing the sound with the 3d sources among the examples..
I wanted to off the sound when I’m max distance away.
The sound setting has been below and I haven’t used "pause":
result = system->createSound("../media/drumloop.wav", FMOD_3D, 0, &sound1);
result = sound1->set3DMinMaxDistance(0.5f * DISTANCEFACTOR, 5000.0f * DISTANCEFACTOR);
result = sound1->setMode(FMOD_LOOP_NORMAL);
When I’m away with max distance :
and if I get in back the max distance again :
system->playSound(FMOD_CHANNEL_FREE, sound1, false, &channel1);
- starry77 asked 12 years ago
- You must login to post comments