Share via


BufferDescription.BufferDescription(WaveFormat) Constructor (Microsoft.DirectX.DirectSound)

Initializes a new instance of the BufferDescription class.

Definition

Visual Basic Public Sub New( _
    ByVal wfx As WaveFormat _
)
C# public BufferDescription(
    WaveFormat wfx
);
C++ public:
 BufferDescription(
    WaveFormat wfx
);
JScript public function BufferDescription(
    wfx : WaveFormat
);

Parameters

wfx Microsoft.DirectX.DirectSound.WaveFormat
A WaveFormat object that defines the format of waveform-audio data.