A question from Argentina.(Sorry for my bad English)
I have a problem in the passage of parameters in the following function:
fxHandle := FSOUND_FX_Enable(Channel, FSOUND_FX_PARAMEQ);
Channel is (of course) a integer
FSOUND_FX_PARAMEQ is a Enum, however the function requests a type cardinal
I proved in the following way:
fxHandle := FSOUND_FX_Enable(Channel, Ord(FSOUND_FX_PARAMEQ));
Me not you if this is correct, but fxHandle=-1, and message is “Invalid argument”
Which the correct way to pass this parameter?
- Pablo asked 15 years ago
I work with VB, although I believe that “fxHandle := FSOUND_FX_Enable(Channel, ord(FSOUND_FX_PARAMEQ));” it is not bad.
The error can be in another side. Do you call to FSOUND_SetPaused(TRUE) before initializing the FX? If it is not this way, it won’t work.
The order is the following one:
2) fxHandle := FSOUND_FX_Enable(Channel, ord(FSOUND_FX_PARAMEQ));
Saludos, también de Argentina!!!
- LeoCombes answered 15 years ago
Yes, maybe the error is in another part. I use the function:
Channel:=FSOUND_Stream_PlayEx(FSOUND_FREE, stream1, DSPUnit,True);
with the last parameter in true, this means that this paused.
Maybe the error this in the DSPUnit or in another part. does Somebody know where there is a complete example with stream and EQ?
Please login first to submit.