FB should come with Bass headers and import libraries prebuilt. I haven't looked too deeply into 0.15 yet, but I've used Bass in 0.14, so I'll throw ya a bone here as for some basics of how to use it.
Code:
BASS_GetVersion ' returns the version...I ignore it, heh
If BASS_Init(1, 44100, 0, 0, 0) = BASSFALSE Then
' if this happens, you got no sound
Else
If BASS_Start = BASSFALSE Then
' if this happens, you got no sound again
End If
End If
That should be enough to get the lib started.
When you're done with it, do this:
which stops all playback and unloads the library. You're advised to remove any resources manually though using the "Free" functions, such as BASS_MusicFree. Anyways, there's two kinds of music that Bass supports: mods and streams. Loading mods is easy:
Code:
ModHandle = BASS_MusicLoad(BASSFALSE, FileToLoad, 0, 0, BASS_MUSIC_RAMP + BASS_MUSIC_LOOP, 0)
BASS_MusicPlay ModHandle
That's the basics...there's more to it but that should get you started for those. For streams, it's similar:
Code:
StreamHandle = BASS_StreamCreateFile(BASSFALSE, FileToLoad, 0, 0, 0)
BASS_StreamPlay StreamHandle, BASSFALSE, BASS_SAMPLE_LOOP
To load samples, you do something similar to this:
Code:
SampleHandle = BASS_SampleLoad(BASSFALSE, FileToLoad, 0, 0, 3, BASS_SAMPLE_OVER_POS)
and to play it back:
Code:
BASS_SamplePlayEx SampleHandle, 0, -1, -1, 0, BASSFALSE
Look up all the details for this in the Bass help file. What I've posted here should get you started though.