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]

Public Function CdRippingSetRange (

nStartPosition as Int32,

nEndPosition as Int32,

nScaleUnits as enumScaleUnits

) as enumErrorCodes


 

[C#]

public enumErrorCodes CdRippingSetRange (

Int32 nStartPosition,

Int32 nEndPosition,

enumScaleUnits nScaleUnits

);


 

[C++]

public: enumErrorCodes CdRippingSetRange (

Int32 nStartPosition,

Int32 nEndPosition,

enumScaleUnits 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 (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.