I've committed a few fixes which should allow you to pass a BlitzMax callback into the method.
There is a caveat though. Because BASS is running playback in a different thread, you are likely to come across issues using BlitzMax's default GC. This is beacuse it is not designed to be doing two things at the same time - at least, related to the GC.
Using the new GC should get around this issue, as it is thread-safe.
Otherwise... beware ;-)
There is a caveat though. Because BASS is running playback in a different thread, you are likely to come across issues using BlitzMax's default GC. This is beacuse it is not designed to be doing two things at the same time - at least, related to the GC.
Using the new GC should get around this issue, as it is thread-safe.
Otherwise... beware ;-)