Assembly: Bass.Net (in Bass.Net.dll) Version: 184.108.40.206
[DllImportAttribute("basscd")] public static bool BASS_CD_SetSpeed( int drive, int speed )
<DllImportAttribute("basscd">] Public Shared Function BASS_CD_SetSpeed ( drive As Integer, speed As Integer ) As Boolean
Return ValueType: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
The speed is automatically restricted (rounded down) to what's supported by the drive, so may not be exactly what was requested. BASS_CD_GetSpeed(Int32) can be used to check that. The maximum supported speed can be retrieved via BASS_CD_GetInfo(Int32, BASS_CD_INFO).
To use a real-time speed multiplier, multiply it by 176.4 (and round up) to get the KB/s speed to use with this function, eg. "32x speed" = 32 * 176.4 = 5645.
|BASS_ERROR_DEVICE||drive is invalid.|
|BASS_ERROR_UNKNOWN||Some other mystery problem!|