0
0

Hello Gentlemen,

when I load a sample with
FSOUND_Sample_Load(
FSOUND_FREE,
FileName,
FSOUND_HW2D OR FSOUND_ENABLEFX,
0
);

the sound is only played (to hear) when the window is NOT in focus.
Even with “FSOUND_INIT_GLOBALFOCUS”
even with “FSOUND_SetHWND(0)”

This happens only when I use this 2 FSOUND_MODES (FSOUND_HW2D OR FSOUND_ENABLEFX) together.
The solution was FSOUND_SetHWND(Form1.Handle).
But this looks very strange.

  • You must to post comments
0
0

thx Brett,
you are right. I use the Fsound_init very early at the Formcreate event.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.