Copyright © 2008-2018 MultiMedia Soft

SetDownmixFilterQuality method

Previous pageReturn to chapter overviewNext page



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.





[Visual Basic]

Public Function SetDownmixFilterQuality (

nQuality as Int16

) as enumErrorCodes



public enumErrorCodes SetDownmixFilterQuality (

Int16 nQuality




public: enumErrorCodes SetDownmixFilterQuality (

Int16 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






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.