0
0

I got some problem whit FSOUND_FX_Enable(channel,FSOUND_FX_PARAMEQ) funcion. In Bulider 6.0:
{
FSOUND_SetBufferSize(100);
FSOUND_Init(44100, 32 ,0);
}

{
stream=FSOUND_Stream_Open(“some mp3”, FSOUND_ENABLEFX , 0,0);
channel=FSOUND_Stream_Play(FSOUND_FREE, stream);
}

{
int tab[10];
FSOUND_SetPaused(channel, TRUE);
FSOUND_FX_Disable(channel);
for(int i=0;i<10;i++)
tab[i]=FSOUND_FX_Enable(channel, FSOUND_FX_PARAMEQ);
FSOUND_SetPaused(channel, FALSE);
FSOUND_FX_SetParamEQ(tab[0],100,12,15);
}
… i compile it and run, and everything goes fine. But when i run this program not from Builder compiler, message appears “FLOATING POINT OVERFLOW” and program crashed! But when FSOUND_FX_Enable funcion is run 4 times(and less) program works fine. Every higer value = program crashed. Did i do something wrong? Please help me!!!! I am sory for my english!

  • You must to post comments
0
0

I have the same problem!!!
In Builder 6 is everything fine, but when I execute file from directory there is error “FLOATING POINT OVERFLOW”.

FMOD 3.74 WinXPSP1 DirectX9

  • You must to post comments
0
0

Now i know how to do it. Write function

// Borland floating point initializatio
void initfp(void)
{
// Disable floating point exceptions
_control87(MCW_EM,MCW_EM);
}

And use it before fmod initialization. Let me know if it works.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.