0
0

What’s wrong with this vb code for FMOD 3.62?
This code was working fine with FMOD 3.61.

Public EQ(0 To 9) As Long

Call FSOUND_SetPaused(FSOUND_SYSTEMCHANNEL, True)

EQ(0) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(1) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(2) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(3) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(4) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(5) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(6) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(7) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(8) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)
EQ(9) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_PARAMEQ)

Call FSOUND_FX_SetParamEQ(EQ(0), 80, 18, SldEqualizer(0).Value)
Call FSOUND_FX_SetParamEQ(EQ(1), 170, 18, SldEqualizer(1).Value)
Call FSOUND_FX_SetParamEQ(EQ(2), 310, 18, SldEqualizer(2).Value)
Call FSOUND_FX_SetParamEQ(EQ(3), 600, 18, SldEqualizer(3).Value)
Call FSOUND_FX_SetParamEQ(EQ(4), 1000, 18, SldEqualizer(4).Value)
Call FSOUND_FX_SetParamEQ(EQ(5), 3000, 18, SldEqualizer(5).Value)
Call FSOUND_FX_SetParamEQ(EQ(6), 6000, 18, SldEqualizer(6).Value)
Call FSOUND_FX_SetParamEQ(EQ(7), 12000, 18, SldEqualizer(7).Value)
Call FSOUND_FX_SetParamEQ(EQ(8), 14000, 18, SldEqualizer(8).Value)
Call FSOUND_FX_SetParamEQ(EQ(9), 16000, 18, SldEqualizer(9).Value)

Call FSOUND_SetPaused(FSOUND_SYSTEMCHANNEL, False)

Best Regards

Tony

  • You must to post comments
0
0

Thanks for the response.

The problem was solved after a restart of my PC.

Best regards

Tony

  • You must to post comments
0
0

I have the same problem. With Fmod 3.61 it worked perfectly, now with Fmod 3.62 (and their corresponding Fmod.bas) VB crash when I initialize the Eq. If I avoid the use of the Eq, everything usually works. The same code worked perfectly in the previous version.
I am using the version stdcall. Restart Windows no solve this problem.
Tanks.

  • You must to post comments
0
0

PD: I´am use DirectX 8.1.

  • You must to post comments
0
0

Now works perfectly!!!
Tanks Brett.

  • You must to post comments
0
0

Hey, Not sure if this will help, but I was also having problems with
the Eq in 3.62. Somehow It would always crash VB. without restarting my
computer, I fixed it. sort of. It doesn’t crash any more but my EQ doesn’t
work yet (I just added it and haven’t debugged it yet).

I used FSOUND_STREAM_PLAYEX, but I set the paused property to
False

This seemed to fix the crashing problem. For me anyway.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.