Assembly: Bass.Net (in Bass.Net.dll) Version: 220.127.116.11
[DllImportAttribute("basscd.dll", CharSet = CharSet.Auto)] public static bool BASS_CD_SetSpeed( int drive, int speed )
<DllImportAttribute("basscd.dll", CharSet := CharSet.Auto>] Public Shared Function BASS_CD_SetSpeed ( drive As Integer, speed As Integer ) As Boolean
public: [DllImportAttribute(L"basscd.dll", CharSet = CharSet::Auto)] static bool BASS_CD_SetSpeed( int drive, int speed )
[<DllImportAttribute("basscd.dll", CharSet = CharSet.Auto)>] static member BASS_CD_SetSpeed : drive : int * speed : int -> bool
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!|