SYNCPROC callback

User defined synchronizer callback function.

void CALLBACK YourSyncProc(
    HSYNC handle,
    DWORD channel,
    DWORD data
    DWORD user
);

Parameters
handleThe sync that has occured.
channelThe channel that the sync occured on.
dataAdditional data associated with the sync's occurance.
userThe user instance data given when BASS_ChannelSetSync was called.

Remarks
A sync callback function should be very quick (eg. just posting a message) as other syncs can't be processed until it has finished.

See also
BASS_ChannelSetSync