I’m having a problem with GetSpectrum.
No matter what parameters I pass in, I always get the error "An invalid parameter was passed to this function".
The sound is playing fine.
I get the same error with 2D and 3D sounds, mp3 or WAV, streaming or non-streaming.
No matter the number of values, or FFT method – same error.
I’m using only mono sounds.
I get the same error with both System::getSpectrum and Channel::getSpectrum.
I’m using an older version of FMOD Ex: Version 00040623
Speaker mode: Stereo # Speakers: 2 Output mode: DirectSound Hardware Support: no # Hardware channels: 0 (2d) 0 (3d) 0 (all) # Software channels: 64
Any suggestions how to fix this?
Interestingly, it does seem to be doing some calculation: If I put numvalues = 20000, my frame rate is much lower than numvalues = 10.
EDIT: Also getWaveData works fine.
- sperryrand asked 6 years ago
Please login first to submit.