SoundDeviceConfig Structure (Microsoft.DirectX.DirectPlay.Voice)
Warning: This struct is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Used to set and retrieve information about the sound device configuration and cannot be changed once a connection has been made. After a connection is made, you can retrieve the current sound device configuration by calling PlayvoiceclientGetsounddeviceconfigDplay. Deprecated.
Visual Basic Public Structure SoundDeviceConfig C# public struct SoundDeviceConfig C++ public value class SoundDeviceConfig sealed JScript In JScript, you can use structures, but you cannot define your own.
The following table lists the members exposed by the object.
Methods
Method Description SoundDeviceConfig Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Initializes a new instance of the object. Deprecated.ToString Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Obtains a string representation of the current instance. Deprecated.Properties
Property Description CaptureDevice Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.When this structure is used in PlayvoiceclientConnectDplay method, this member specifies the GUID of the device used for capture. This must be specified even if the LpdsCaptureDevice member is used. If you used NULL when specifying the device when you created your DirectSoundCapture object, pass DSDEVID_DefaultCapture for this member. Deprecated.Flags Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.A combination of the following flags. Deprecated.GuidCaptureDevice Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.When this structure is used in PlayvoiceclientConnectDplay method, this member specifies the GUID of the device used for capture. This must be specified even if the LpdsCaptureDevice member is used. If you used NULL when specifying the device when you created your DirectSoundCapture object, pass DSDEVID_DefaultCapture for this member. Deprecated.GuidPlaybackDevice Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Retrieves or sets the globally unique identifier (GUID) of the device used for playback. Deprecated.MainBuffer Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Pointer to an IDirectSoundBuffer8 object, which is used to create the Microsoft® DirectPlay® Voice main buffer. This can be either NULL or a user-created Microsoft DirectSound® buffer. If this member is set to NULL, Microsoft® DirectPlay® Voice will create a buffer for the main voice buffer. If users specify a buffer here, Microsoft® DirectPlay® Voice will use their buffer for the main voice buffer. User-created buffers have the following restrictions. Deprecated.MainBufferFlags Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Passed directly to the dwFlags parameter of the IDirectSoundBuffer8.Play method when Play is called for the main buffer. The DSBPLAY_LOOPING flag is automatically added to this field. See the documentation on IDirectSoundBuffer8.Play for details. This parameter must be 0 if the LpdsMainBuffer member of this structure is NULL. Deprecated.MainBufferPriority Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Passed directly to the dwPriority parameter of the IDirectSoundBuffer8.Play method when Play is called on the main buffer. See documentation for IDirectSoundBuffer8.Play for more information. This member must be set to 0 if lpdsMainBufferDesc is NULL. Deprecated.PlaybackDevice Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Retrieves or sets the playback device. Deprecated.Window Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Must be set to the window that will be used to determine focus for sound playback. Deprecated.
Namespace Microsoft.DirectX.DirectPlay.Voice Assembly Microsoft.DirectX.DirectPlay (microsoft.directx.directplay.dll) Strong Name Microsoft.DirectX.DirectPlay, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Show: