Microsoft DirectX 9.0 SDK Update (October 2004)

WaveFormat.BitsPerSample Property

Language:

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

Retrieves and sets the bits per sample for the format type.

Definition

Visual Basic .NET Public Property BitsPerSample As Short
C# public short BitsPerSample { get; set; }
Managed C++ public: __property short get_BitsPerSample();
public: __property void set_BitsPerSample(short);
JScript .NET public function get BitsPerSample() : short
public function set BitsPerSample(short);

Property Value

System.Int16 . Bits per sample for the format type.

This property is read/write. 

Remarks

Because Microsoft® DirectX® 9.0 for Managed Code only supports a FormatTag of WaveFormatTag.Pcm, the value of the BitsPerSample property should be equal to 8 or 16.


© 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