Syncs are set on CD streams in exactly the same way as on any other stream, using BASS_ChannelSetSync. The following is a list of the types of sync supported on CD streams.
Sync types, with param and SYNCPROC data definitions.
|Sync when a read error occurs.|
param : not used. data : the position that the read error occurred.
|Sync when the read speed is automatically changed due to the BASS_CONFIG_CD_AUTOSPEED setting.|
param : not used. data : the new read speed.
The BASS_SYNC_POS, BASS_SYNC_END, BASS_SYNC_SLIDE, BASS_SYNC_STALL and BASS_SYNC_FREE sync types are also supported on CD streams, as described in the BASS_ChannelSetSync documentation.