IDirectSoundCaptureFXNoiseSuppress8::SetAllParameters

The SetAllParameters method sets the noise suppression parameters of a buffer.

HRESULT SetAllParameters(
  LPCDSCFXNoiseSuppression pcDscFxNoiseSuppress
);

Parameters

pcDscFxNoiseSuppress
Address of a DSCFXNoiseSuppress structure that specifies the effect parameters.

Return Values

If the method succeeds, the return value is DS_OK. If the method fails, the return value may be one of the following values:

Return code
DSERR_INVALIDPARAM
DSERR_OUTOFMEMORY

Remarks

Windows:  Important Note for Windows Vista

Existing applications that access Windows XP Acoustic Echo Cancellation (AEC) features via the DirectSound API will no longer obtain AEC when running on Windows Vista. These applications will still run, but their calls to AEC-specific DirectSound API calls will have no effect on the captured audio.

To learn how to obtain AEC in Windows Vista, See the Windows Vista AEC topics in the Windows SDK.

Requirements

Header: Declared in Dsound.h.

Import Library: Use Dsdmo.dll.

See Also

IDirectSoundCaptureFXNoiseSuppress8