BASS_CD_GetSpeed

Retrieves the current read speed setting of a drive.

DWORD BASS_CD_GetSpeed(
    DWORD drive
);

Parameters

driveThe drive... 0 = the first drive.

Return value

If successful, the read speed (in KB/s) is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_DEVICEdrive is invalid.
BASS_ERROR_NOTAVAILThe read speed is unavailable.

Remarks

Divide the speed by 176.4 to get the real-time speed multiplier, eg. 5645 / 176.4 = "32x speed".

See also

BASS_CD_GetInfo, BASS_CD_SetSpeed