Microsoft DirectX 9.0 |
The DSCFXAec structure contains parameters for acoustic echo cancellation in a capture buffer.
Structure
typedef struct _DSCFXAec {
BOOL fEnable;
BOOL fNoiseFill;
DWORD dwMode;
} DSCFXAec, *LPDSCFXAec;
typedef const DSCFXAec *LPCDSCFXAec;
Members
fEnable
Boolean value that specifies whether the effect is enabled.
fNoiseFill
Boolean value that specifies whether to enable background comfort noise, which makes the capture signal sound more natural by preventing periods of dead silence. By default, background comfort noise is not enabled.
dwMode
Operation mode. This member contains one of the following values.
Constant | 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. |
Remarks
The dwMode member is ignored when this structure is passed to IDirectSoundCaptureFXAec8::SetAllParameters.
Requirements
Header: Declared in Dsound.h.
See Also