![]() |
![]() |
![]() |
WaveFormat.BitsPerSample Property |
Language: |
Retrieves and sets the bits per sample for the format type.
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);
System.Int16 . Bits per sample for the format type.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center