Nicholas,

You can find a suggestion on the BASS forums (A quick google got me to the site of the company that makes BASS and a quick search of their forums found the suggestion).

Admittedly, the code isn't Pascal, but it should give you the way of doing it.

This has been said before.. please try and search for the answers on-line. You seem to hit a problem and just post on here, which whilst the whole point of a developers community is to get the input of others, I'm sure I'm not the only person who will tell you that you will learn so much more by doing your own research and testing rather than simply posting a request for assistance.

I'll typically spend hours and hours tinkering around, reading, coding, cursing ;-) Literally, I will exhaust every possibility I can think of before I ask for help. Some may consider that a waste of time if I could get an answer without having to do anything, but I've learned so much this way.

A pointer to the answer is here.

In essence, what that post says is that you link a callback to a stream once you've created it using the method BASS_ChannelSetSync.