The DSCFXAec structure contains parameters for acoustic echo cancellation in a capture buffer.
typedef struct DSCFXAec { BOOL fEnable; BOOL fNoiseFill; DWORD dwMode; } DSCFXAec;
Value | Description |
---|---|
DSCFX_AEC_MODE_PASS_THROUGH | The effect is passing capture and render data through without modifying it. |
DSCFX_AEC_MODE_HALF_DUPLEX | The effect is running in half duplex mode. Not presently supported. |
DSCFX_AEC_MODE_FULL_DUPLEX | The effect is running in full duplex mode. |
The dwMode member is ignored when this structure is passed to IDirectSoundCaptureFXAec8::SetAllParameters.
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.
Header: Declared in Dsound.h.
IDirectSoundCaptureFXAec8::GetAllParameters | IDirectSoundCaptureFXAec8::SetAllParameters