Hi friends
First , I wish you a happy new year

I catched a problem on customized version Jingle Palette, i a precise case.
If I have no palette (all jingles buttons are empty, palettes list is empty), I can not fully assign a jingle.
Here i revelant lines of my code :
Jing(btNum).StrmFile = BASS_StreamCreateFile(BASSFALSE, StrPtr(Jing(btNum).Path), 0, 0, BASS_STREAM_DECODE)
If Jing(btNum).StrmFile = 0 Then Jing(btNum).StrmFile = BASS_MusicLoad(BASSFALSE, StrPtr(Jing(btNum).Path), 0, 0, BASS_MUSIC_RAMP Or BASS_MUSIC_PRESCAN Or
BASS_ChannelSetAttribute Jing(btNum).StrmFile, BASS_ATTRIB_VOL, 1
Call BASS_ChannelGetInfo(Jing(btNum).StrmFile, info(btNum))
freq(btNum) = info(btNum).freq
MsgBox freq(btNum)
Jing(btNum).Strm = BASS_FX_TempoCreate(Jing(btNum).StrmFile, BASS_FX_FREESOURCE)
MsgBox Jing(btNum).Strm
You can notice 2 MsgBox commands. The first (where I get the samplerate of the audio file, is displaying, with the good value (ie. 44100) but the second MsgBox does not appears.
If I save the new palette, I get a Missing file Bass_fx.dll error (but the palette is saved), and after, it's ok, the assigned jingle appears and can be played without problem.
I restart the software, no probleme to assign other jingles.
It's only when all is empty.
Is there a BASS command to check if BASS FX is loaded ? I would try to use it to search where I did something wrong.
Thank
Couin