Copyright © 2006-2019 MultiMedia Soft

SetDownmixFilterQuality method

Previous pageReturn to chapter overviewNext page

Remarks

 

During an exporting session, performed through the RecordedSound.RequestExportToFile method, in which the recorded 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]

control.SetDownmixFilterQuality (

nQuality as Integer

) as enumErrorCodes


 

[C++]

short control.SetDownmixFilterQuality (

short 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 error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.