0
0

I there, I’ve got a little problem using Fmod under Delphi;
I want to play a sound file using FSOUND_LOOP_NORMAL and FSOUND_HW3D.
I know how to play a sound file, but the problem is that I don’t know how I can place the second parameter: FSOUND_LOOP_NORMAL. Is it possible ?

[code:tctd3chz]
Sample := FSOUND_Sample_Load(FSOUND_FREE, ‘loop.wav’, FSOUND_HW3D, 0);
[/code:tctd3chz]

How could I do this ?
(the loop.wav file is in mono format)

Thanks.

  • You must to post comments
0
0

I don t code in Delphi but i think that it should be :

Sample := FSOUND_Sample_Load(FSOUND_FREE, ‘loop.wav’, FSOUND_LOOP_NORMAL Or FSOUND_HW3D, 0);

  • You must to post comments
0
0

That’s correct. Use the [b:3a60w48u]or[/b:3a60w48u] operator to combine flags.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.