Copyright © 2008-2018 MultiMedia Soft

ConvertFileDestResamplingSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets parameters used for resampling the destination sound file during the sound format conversion session started through calls to the ConvertFile, ConvertFileRange, ConvertFileRaw, ConvertFileRawRange and ConvertAutomationExecute methods.

 

For further information about sound files conversion see the How to convert format of sound files tutorial.

 

 

Syntax

 

[Visual Basic]

control.ConvertFileDestResamplingSet (

nFrequency as long,

nChannels as long,

nBitsPerSample as long,

) as enumErrorCodes


 

[C++]

short control.ConvertFileDestResamplingSet (

long nFrequency

long nChannels,

long nBitsPerSample

);


 

 

Parameter

Description

 

 

nFrequency

Frequency used to resample the sound to convert.

nChannels

Number of channels used to resample the sound to convert.

nBitsPerSample

Number of bits per sample used to resample the sound to convert.

 

 

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.