Is BASS threadsafe?

Started by Eric Lund,

Eric Lund

I thought this was answered somewhere before but I can't locate the conversation. Is BASS thread-safe? I've created several MO3 music files for my game and I'm currently playing them back jukebox-style. The main loop every few seconds checks to see if the song is over, and if so kicks off the next MO3. This results in a noticeable pause as the game waits for the next song to decompress. I think a thread will eliminate this pause, but this could mean some sounds in memory will go off while the next BASS_MusicLoad() is running in the second thread. Are there any problems with this?

Eric W. Lund
Gearhand Studios
http://www.gearhand.com

Ian @ un4seen

QuoteAre there any problems with this?
Nope, using another thread is the answer :)