BufferDescription.PrimaryBuffer Property (Microsoft.DirectX.DirectSound)

Specifies whether the buffer is a primary sound buffer.


Visual Basic Public Property PrimaryBuffer As Boolean
C# public bool PrimaryBuffer { get; set; }
C++ public:
property bool PrimaryBuffer {
        bool get();
        void set(bool value);
JScript public function get PrimaryBuffer() : boolean
public function set PrimaryBuffer(boolean);

Property Value

This value is set to true if the buffer is a primary sound buffer; otherwise, false.

This property is read/write. 


This property cannot be combined with BufferDescription.ControlEffects.