Compartilhar via


IDirectSoundFullDuplex8

[The feature associated with this page, DirectSound, is a legacy feature. It has been superseded by WASAPI and Audio Graphs. Media Casting have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of DirectSound, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IDirectSoundFullDuplex8 interface represents a full-duplex stream.

The interface is obtained by using the DirectSoundFullDuplexCreate8 function. This function initializes DirectSound capture and playback.

The interface can also be obtained by using CoCreateInstance or CoCreateInstanceEx to create an object of class CLSID_DirectSoundFullDuplex8.

IDirectSoundFullDuplex8 is a define for IDirectSoundFullDuplex. The interface names are interchangeable.

In addition to the methods inherited from IUnknown, the IDirectSoundFullDuplex8 interface exposes the following method.

IDirectSoundFullDuplex8 Members

Method Description
IDirectSoundFullDuplex8::Initialize The Initialize method initializes a full duplex object that was created by using CoCreateInstance.

The LPDIRECTSOUNDFULLDUPLEX type is defined as a pointer to IDirectSoundFullDuplex.

typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX;

Info

Operating System: Requires Microsoft Windows XP or later.

Ee418204.note(en-us,VS.85).gifWindows

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.

See Also

DirectSound Interfaces