How to use bass and fx libraries

Blitz3D Forums/Blitz3D Programming/How to use bass and fx libraries

dman(Posted 2014) [#1]
I trying to use the Bsss libraries in Blitz3D, the order seems right and works but the reverse is not working.
need help.

an example of my code :
Include "includes\bass.bb"
Include "includes\bass_fx.bb"


Global stream1
Global stream2
Global stream3

Graphics 640, 480, 32, 2


 BASS_Init(-1,44100,0,0,0) 

;BASS_CheckVersion()


stream1 = BASS_StreamCreateFile(0,"3.mp3",0,0,BASS_STREAM_PRESCAN Or BASS_STREAM_DECODE Or BASS_SAMPLE_FLOAT ) 
			
stream2 = BASS_FX_ReverseCreate(stream1, 2, BASS_STREAM_DECODE )
			
stream3 = BASS_FX_TempoCreate(stream2, BASS_FX_FREESOURSE ) 

BASS_ChannelSetPosition(stream3, 1)		
			
BASS_FX_ReverseSetDirection(stream3, 1) ;BASS_FX_RVS_FORWARD)