Copyright © 2006-2019 MultiMedia Soft

CdRippingSetResampleParams method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the parameters used for resampling sound data coming from the 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.CdRippingSetResampleParams (

nResampleFrequency as Long,

nResampleChannels as Long,

nResampleBitsPerSample as Long

) as enumErrorCodes


 

[C++]

short control.CdRippingSetResampleParams (

long nResampleFrequency,

long nResampleChannels,

long nResampleBitsPerSample

);


 

 

Parameter

Description

 

 

nResampleFrequency

Number representing the frequency, expressed in Hz, used for resampling sound data (e.g. 11025, 22050, 44100, 48000, etc.)

nResampleChannels

The number of channels (use 1 for Mono or 2 for Stereo) used for resampling sound data

nResampleBitsPerSample

The number of bits per sample (8 or 16) used for resampling sound data

 

 

 

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.