BASS.NET API for the Un4seen BASS Audio Library

BassCdBASS_CD_GetSpeedFactor Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the current read speed factor of a drive.

Namespace:  Un4seen.Bass.AddOn.Cd
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public static float BASS_CD_GetSpeedFactor(
	int drive
)

Parameters

drive
Type: SystemInt32
The drive... 0 = the first drive.

Return Value

Type: Single
If successful, the read speed factor (e.g. 32x) is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_DEVICEdrive is invalid.
BASS_ERROR_NOTAVAILThe read speed is unavailable.

See Also

Reference