Copyright © 2006-2019 MultiMedia Soft

CdRippingSetRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a range that will be used in order to define the start and end position of a CD ripping session

 

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

 

 

Syntax

 

[Visual Basic]

control.CdRippingSetRange (

nStartPosition as Long,

nEndPosition as Long,

nScaleUnits as enumScaleUnits

) as enumErrorCodes


 

[C++]

short control.CdRippingSetRange (

long nStartPosition,

long nEndPosition,

short nScaleUnits

);


 

 

Parameter

Description

 

 

nStartPosition

Number representing the position where the CD track's ripping will begin; it's effective value depends upon the value of the nScaleUnits parameter.

nEndPosition

Number representing the position where the CD track's ripping will end; it's effective value depends upon the value of the nScaleUnits parameter.

nScaleUnits

The unit used to define the nStartPosition and nEndPosition parameters.

Supported values are the following:

Mnemonic constant

Value

Meaning

SCALE_MILLISECONDS

0

Milliseconds

SCALE_SECONDS

1

Seconds

SCALE_MINUTES

2

Minutes

SCALE_HOURS

3

Hours

SCALE_PERCENTAGE

4

Percentage (expressed with values from 0 to 100)

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.