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]

Public Function CdRippingSetResampleParams (

nResampleFrequency as Int32,

nResampleChannels as Int32,

nResampleBitsPerSample as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes CdRippingSetResampleParams (

Int32 nResampleFrequency,

Int32 nResampleChannels,

Int32 nResampleBitsPerSample

);


 

[C++]

public: enumErrorCodes CdRippingSetResampleParams (

Int32 nResampleFrequency,

Int32 nResampleChannels,

Int32 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 last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.