BufferDescription.BufferBytes Property (Microsoft.DirectX.DirectSound)

Retrieves or sets the size of the new buffer.

Definition

Visual Basic Public Property BufferBytes As Integer
C# public int BufferBytes { get; set; }
C++ public:
property int BufferBytes {
        int get();
        void set(int value);
}
JScript public function get BufferBytes() : int
public function set BufferBytes(int);

Property Value

System.Int32
Value that represents the size of the new buffer, in bytes, to set or retrieve.

This property is read/write. 

Remarks

This value must be 0 when creating a buffer with BufferDescription.PrimaryBuffer set to true.