Sets the read offset of a drive.
BOOL BASS_CD_SetOffset( DWORD drive, int offset );
drive | The drive... 0 = the first drive. |
offset | The offset, in samples (bytes/4). |
BASS_ERROR_DEVICE | drive is invalid. |
When a negative offset is used, reading the beginning of the first track will require accessing the lead-in, and when a positive offset is used, reading the end of the last track will require accessing the lead-out. The drive may not support that (overreading), in which case those parts will be replaced with silence.
Changes do not affect an existing CD stream, unless BASS_CD_StreamSetTrack is called (and any sub-channel/C2 reading is using a CDDATAPROC).