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.
- elpeka asked 16 years ago
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.
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.
DXDiag says yes. But I will check if all works properly.
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.
Well, but what exactly does the integervalue express? It’s just a number, but what is it’s meaning.
Please login first to submit.