NEXT PROBLEM with BASS.DLL
how to init the "new" bass dll ?? 97336kbytes (newest version) 2.xxx
i made this :
#CONSTANT BASS_DLL 1
call dll BASS_DLL,"BASS_Init",0 ,44100 ,0
call dll BASS_DLL,"BASS_SetVolume",100
call dll BASS_DLL,"BASS_MusicLoad",0 ,"aryx.s3m",0 ,0,(1 or 512)
call dll BASS_DLL,"BASS_Start"
call dll BASS_DLL,"BASS_ChannelPlay",0,-1,0
FUNCTION bass_DLLinit
if file exist("bass.dll")
load dll "bass.dll",BASS_DLL
endif
ENDFUNCTION
no sound output.. what wrong ?
mcq
UPDATE ! After i read the Manual i found some bugs:
so here is the "new" init :
load dll "bass.dll",1
call dll 1,"BASS_Free"
call dll 1,"BASS_Init",-1 ,44100 ,BASS_DEVICE_CPSPEAKERS,0,0
call dll 1,"BASS_MusicLoad",0 ,mod$,0 ,0,BASS_SAMPLE_LOOP||BASS_MUSIC_RAMP,0
`main program loop
call dll 1,"BASS_ChannelPlay",HMUSIC,0
but no music output... noone can help ???