0
0

With 4.29.00(+?), when I stop/pause sound (only one sound), spectrum still shows up as if the music was playing. replacing with older versions (like 4.27.10, 4.28.0x, or older) this behaviour does not occur

  • You must to post comments
0
0

Are you sure you’re not just ignoring the return values from getSpectrum and getting uninitialized stack data plotted to your screen? (which just happens to be what was processed before the sound ended).

If a sound is stopped, getSpectrum would return FMOD_ERR_INVALID_HANDLE

  • You must to post comments
0
0

I should have mentionened, i use System::getSpectrum, not Channel::getSpectrum, and it does not return anything other than FMOD_OK.

  • You must to post comments
0
0

Seems it’s some DSP problem…:
I have another project, which uses 2 sound systems, one with a DSP added and one without.
I set the volume to 0 then pause immediatelly. While the system without the DSP attached works fine, the DSP one still plays bits of the sound.
(a sleep(50) or so between setvolume and setpause seem to help)
Similar problem accurs when seeking, but as the sound still plays its a very short time only, almost a funny effect.
When disabling the DSP, both systems pause correct.

Can’t say for sure this problem is related with the spectrum, the DSP project has not spectrum displayed (yet), but it seems to be the same new fmodex versions affected (didn’t test much so)

BTW, it’s a winamp dsp plugin, and this time even a Windows XP machine (not tested on 98 yet :)

  • You must to post comments
0
0

(still have this problem with 4.29.08)

  • PS3 – Fixed getWaveData/getSpectrum returning values for empty channelgroups
    in some cases.
    is documented in the 4.29.08, but not in 4.28.08… sounds pretty related…if that is sort of related to System::getSpectrum
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.