Copyright © 2006-2016 MultiMedia Soft

CdDriveSpeedChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the speed of the CD drive is automatically reduced after an error occurs during the reading of a CD track.

 

Automatic speed reduction, disabled by default, can be enabled through the CdDriveAutoSpeedSet method.

 

 

Syntax

 

[Visual Basic]

CdDriveSpeedChange (

ByVal nCdDriveIndex as integer,

ByVal nNewSpeed as long

)


 

[C++]

void CdDriveSpeedChange (

short nCdDriveIndex,

long nNewSpeed

);


 

 

Parameters

Description

 

 

nCdDriveIndex

Number representing the zero-based index of the CD drive that fired the event. The total number of available CD drives can be obtained using the GetCdDrivesCount method.

nNewSpeed

Number representing the new speed of the CD drive expressed in Kbytes per second.

You can divide the speed by 176.4 to get the real-time speed multiplier; if for example the returned values should be 7096, the operation to perform would be

7096 / 176.4 = "40x".