I’am at a total loss, i’ven been rattleing with this problem all night and still can not get it to work. In a nutshell i will dump my output.
FSOUND_Init(44100, mySong.NumChannels, FSOUND_INIT_GLOBALFOCUS)
mySong.songHandle = FSOUND_Stream_OpenFile(strFileName, FSOUND_STEREO Or FSOUND_16BITS Or FSOUND_LOOP_OFF Or FSOUND_2D, 0)
mySong.ChannelHandle = FSOUND_Stream_PlayEx(FSOUND_FREE, mySong.songHandle, 0, 1)
mySong.EqHandle = FSOUND_FX_Enable(mySong.ChannelHandle, FSOUND_FX_PARAMEQ)
Call FSOUND_SetPaused(mySong.ChannelHandle, 0)
I’ve checked error messages between all initing and FMOD reports no errors, furthermore the song plays, however EqHandle is always -1 (Fail).
What am i doing wrong?
Thanks in advance.
++Cire.
- Cire asked 16 years ago
- You must login to post comments
I have no pb when using FSOUND_Sample_Load with VB (doesn’t seem to work for stream).
<font size=-1>[ This Message was edited by: KarLKoX on 2002-03-12 16:45 ]</font>
- KarLKoX answered 16 years ago
- You must login to post comments
I was under the impression that it would work for streams? Perhaps I need to go abouts thinking of another way to handle this really wanted to have a nice set of optional effects for my player, back to the drawing board I guess.
++Cire.
- Cire answered 16 years ago
- You must login to post comments
Weee, that works! Thanks much Brett, as usual you swing into action and save me again, my hero!
Now only one problem, i seem to have lost my globalfocus for some reason, any ideas?
++Cire.
- Cire answered 16 years ago
- You must login to post comments
I have the same problem, effects now work but when i leave the window the sound stops, returning to the window again will enable the sound again.
Hope someone knows how to clear this up.
- Anonymous answered 16 years ago
- You must login to post comments
I really need a soluation to this. Brett when using the effects does that limit my sound to the window in question? could this be a bug? I’ve tried presetting the hwnd to ‘0’, modifing the fmod.bas lib to accept any and setting it to ‘null’.
Please help i’am so very close to finishing my app, in fact with the exception of some minor playlist mods, its ready to go.
++Cire.
- Cire answered 16 years ago
- You must login to post comments
That did the trick Brett, sorry for all the trouble, and once again Thanks.
++Cire.
- Cire answered 16 years ago
- You must login to post comments
Please login first to submit.