0
0

Hi,

how can I programm an equalizer using FMOD. If I try to use the FSOUND_FX_SetParamEQ – Function I get an error in FSOUND_Init when I use FSOUND_INIT_ENABLEOUTPUTFX. (“Can’t create hardware buffer”). I also tried to use a DSP-Callback, but I have problems understanding the format of the buffer, an all tests a made resulted in an ugly noise.

TIA Ludwig

  • You must to post comments
0
0

[quote:p18r8j43]
On 2002-04-18 15:59, brett wrote:
do you have directx 8 installed? it will be the only way using FSOUND_INIT_ENABLEOUTPUTFX will work.
[/quote:p18r8j43]

DXDiag says yes. But I will check if all works properly.

[quote:p18r8j43]
I suggest looking at the DSP tutorial in the documentation. The format is simply 16bit stereo integer, or if FSOUND_MIXER_QUALITY_FPU is enabled, it is 32bit stereo floating point.
[/quote:p18r8j43]

Well, but what exactly does the integervalue express? It’s just a number, but what is it’s meaning.

  • You must to post comments
0
0

OK I found the problem with FSOUND_INIT_ENABLEOUTPUFX, and it was documented:
“Note that due to limitations of DirectSound, FSOUND_Init may fail if this is enabled because the buffersize is too small.
This can be fixed with FSOUND_SetBufferSize. Increase the BufferSize until it works.”

I wrote FSOUND_SetBufferSize(200); and FSOUND_SetOutput(FSOUND_OUTPUT_WINMM); et voila FSOUND_Init did work. I hope that the FX Effects will work too.

  • You must to post comments
0
0

Yes you are right. I just checked wheter FSOUND_Init failed, but using WINMM I could not play anything. Thanks for your help. I will study the tutorials more exactly.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.