0
0

Hi all,
Here is the problem, I try this code :

[quote:c3txxnj8]stream1 = FSOUND_Stream_OpenFile(s, FSOUND_ENABLEFX | FSOUND_HW2D , 0);
streamchan1 = FSOUND_Stream_PlayEx(FSOUND_FREE, stream1, NULL, TRUE);

    debug = FSOUND_FX_Enable(streamchan1, FSOUND_FX_GARGLE );

    int a = FSOUND_FX_SetGargle(streamchan1, 500, 1); 

    a = FSOUND_SetPaused(streamchan1, FALSE);[/quote:c3txxnj8]

But there is a problem, the stream play only when the window loose the focus, an d there is no Gargle.
So I try this :

[quote:c3txxnj8]stream1 = FSOUND_Stream_OpenFile(s, FSOUND_ENABLEFX | FSOUND_HW2D , 0);
streamchan1 = FSOUND_Stream_PlayEx(FSOUND_FREE, stream1, NULL, TRUE);

    debug = FSOUND_FX_Enable(streamchan1, FSOUND_FX_GARGLE );

    int a = FSOUND_FX_SetGargle(debug , 500, 1); 

    a = FSOUND_SetPaused(streamchan1, FALSE);[/quote:c3txxnj8]

This Gargle fine but only when the window has no focus on it, any solution?
thanks

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.