Microsoft DirectX 9.0 SDK Update (October 2004)

SoundDeviceConfig.MainBuffer Property

Language:

Note: This documentation is preliminary and is subject to change.

Warning: This property 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 Microsoft® 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.

Definition

Visual Basic .NET Public Property MainBuffer As Buffer
C# public Buffer MainBuffer { get; set; }
Managed C++ public: __property Buffer* get_MainBuffer();
public: __property void set_MainBuffer(Buffer*);
JScript .NET public function get MainBuffer() : Buffer
public function set MainBuffer(Buffer);

Property Value

Microsoft.DirectX.DirectSound.Buffer .

This property is read/write. 

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center