Changes the track of a CD stream.
BOOL BASS_CD_StreamSetTrack( HSTREAM handle, DWORD track );
handle | The CD stream handle. |
track | The new track... 0 = the first track, BASS_CD_TRACK_PREGAP = 1st track pregap (not all drives support reading of the 1st track pregap). |
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_NOCD | There is no CD in the drive. |
BASS_ERROR_CDTRACK | track is invalid. |
BASS_ERROR_NOTAUDIO | The track is not an audio track. |
This function is identical to using the BASS_POS_CD_TRACK "mode" with BASS_ChannelSetPosition. Either can be used with a BASS_SYNC_END sync (set via BASS_ChannelSetSync) to play one track after another.