Copyright © 2008-2019 MultiMedia Soft

SetDownmixFilterQuality method

Previous pageReturn to chapter overviewNext page

Remarks

 

During an exporting session, performed through the ExportToFile method, in which the edited sound is being down-mixed to lower frequencies (for example from 44100 Hz to 11025 Hz), allows applying an anti-aliasing filter to the final sound.

 

 

Syntax

 

[Visual Basic]

Public Function SetDownmixFilterQuality (

nQuality as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetDownmixFilterQuality (

Int16 nQuality

);


 

[C++]

public: enumErrorCodes SetDownmixFilterQuality (

Int16 nQuality

);


Parameter

Description

 

 

nQuality

Number representing the quality of the anti-aliasing filter expressed in percentage.

Accepted values are from 0 to 100:

- value 0 (default) disables the anti-aliasing filter

- values from 1 to 100 enable the anti-aliasing filter: the higher the value, the best the final result but, obviously, higher values will require some more CPU.

 

 

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.