The module is wrapped in an OOP style - my preference, rather than a flat procedural style... although you can probably access most of it flat, if you really want to.
So, to use a channel, a TBassChannel, you would do something like :
which also returns number of bytes read.
Generally with all my mods, things like handles and pointers are hidden away, and you use Objects to access everything.
Anyhoo, that should work :-)
So, to use a channel, a TBassChannel, you would do something like :
channel.GetData(bytearray, length)
which also returns number of bytes read.
Generally with all my mods, things like handles and pointers are hidden away, and you use Objects to access everything.
Anyhoo, that should work :-)