I know this isn't truly "game" programming, but the board said sound library stuff goes here too, if It's int he wrong spot, a mod is more than welcome to move it.
Anywho, I was really used to FMOD 3.75, and I just got the newer version, 4.32.04, and I have to say, the FMOD team really messed up on this, in my opinion.
In the old version, I am used to activating DSP effects when I initialize FMOD, and this allowed me to access the getSpectrum() function quite easily, now all that happens is a crash.
Code:
float *spectrum;
FmodSystem->getSpectrum(spectrum, 256, 0, FMOD_DSP_FFT_TRIANGLE);
This gives me a segmentation fault. Googling around didn't help me much, mostly people saying they always get 0.0 on the spectrum.... wish I could get that far....
Anyway, I don't see a way to initialize FMOD with DSP active on it, and the help file isn't giving me anything that I can find. I have tried it with all the filters, both channels, channel->getSpectrum, everything I could think of.
Any ideas on why this is segfaulting?
Thanks in advance.