Hi ! I used GetSpectrum with the previous version of fmod and it worked well, but now i cant figure why it doesn’t want to do the same !
Here is a bit of my code :
spectrum_buffer_ptr = (float *) calloc(512, sizeof(float));
FMOD_System_PlaySound(sys, FMOD_CHANNEL_FREE, stream, 0, &channel);
} while(playing || !kbhit());
I think it’s enough for you to understand.
The error i get is ‘exeception on floating point’ at the ‘GetSpectrum line’. I get it just after a few moment my song started.
Thanx to helping me.
- k-kOo asked 11 years ago
- You must login to post comments