Copyright © 2006-2018 MultiMedia Soft

CdRippingAutomationTrackAdd method

Previous pageReturn to chapter overviewNext page

Remarks

 

Adds a CD track to the CD ripping automation.

The ripping automation must have been previously initialized through the CdRippingAutomationInit method and can be started at a later stage through the CdRippingAutomationExec method.

 

For details about the encoding format and parameters see the How to perform a CD ripping session section.

 

 

Syntax

 

[Visual Basic]

control.CdRippingAutomationTrackAdd (

nCdDriveIndex as Integer,

strOutputPath as String

) as enumErrorCodes


 

[C++]

short control.CdRippingAutomationTrackAdd (

short nCdDriveIndex,

LPCTSTR strOutputPath

);


 

Parameter

Description

 

 

nCdDriveIndex

Number representing the zero-based index of the involved CD drive.

Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.

strOutputPath

String representing the absolute pathname of the output file for this specific track. This parameter is ignored when the bSingleOutputFile parameter of the CdRippingAutomationInit method is set to BOOL_TRUE in which case the string representing the absolute pathname of the single output file where this track will be stored is initialized through the strSingleFileOutputPath parameter of the CdRippingAutomationInit method itself.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The call was successful.