Thinking of removing this function, would anyone miss it. It basically just lets you randomize volume/frequency/pan. I dont think this sort of high level behaviour is something that should be in the low level API and is more suited to data driven API , ie fmod event system through fmod designer events.
It’s been a while since I worked on the code, but I believe that we used this on my last project. I also have a vague memory of removing the call, and replacing it with something that was a little more robust.
It’s also not that difficult to do something like:
[code:155bgjps]System->playSound(FMOD_CHANNEL_FREE, Sound, true, &Channel);
float freq, vol;
Sound->getDefaults(&freq, &vol, NULL, NULL);
// Other stuff...
We’re using the event system on my current project, so this is less relevant to me now.
- Adiss answered 9 years ago
We might be wanting to use this… we’re reducing our use of complex events to save memory and I’m guessing this is what we would use to add variation to sounds triggered through a "programmer sound" callback. I’ll bring it up with our audio coder.
Please login first to submit.