Seconds *should* be a float.
See the header files?
Also note that pos is a QWord ( QuadWord or in other words a 64 bit integer. ) I don't know if that is causing you problems or not, but it might. You might be feeding an incorrect position value because you're only passing a 32 bit int.
If that's it, you'll need to fake a 64bit value. I expect someone has written something to do this.
See the header files?
float BASSDEF(BASS_ChannelBytes2Seconds)(DWORD handle, QWORD pos);
Also note that pos is a QWord ( QuadWord or in other words a 64 bit integer. ) I don't know if that is causing you problems or not, but it might. You might be feeding an incorrect position value because you're only passing a 32 bit int.
If that's it, you'll need to fake a 64bit value. I expect someone has written something to do this.