Freigeben über


DirectSound Device GUIDs

[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 following GUIDs are used to identify default playback and capture devices.

Device ID Description
DSDEVID_DefaultPlayback System-wide default audio playback device.
DSDEVID_DefaultCapture System-wide default audio capture device.
DSDEVID_DefaultVoicePlayback Default voice playback device.
DSDEVID_DefaultVoiceCapture Default voice capture device.

See Also

Creating the Device Object
Creating the Capture Device Object
DirectSoundCaptureCreate8
DirectSoundCreate8
DirectSoundFullDuplexCreate8
GetDeviceID
IDirectSoundFullDuplex8::Initialize