Gets or sets the bits per sample for the WaveFormatTag format type. (wBitsPerSample)
If WaveFormatTag is PCM, then this should be equal to 8 or 16.
For non-PCM formats, this member must be set according to the manufacturer's specification of the format tag.
If WaveFormatTag is EXTENSIBLE, this value can be any integer multiple of 8 and represents the container size, not necessarily the sample size;
for example, a 20-bit sample size is in a 24-bit container. Some compression schemes cannot define a value for BitsPerSample, so this member can be 0.

C# | Visual Basic | Visual C++ |
public short BitsPerSample { get; set; }
Public Property BitsPerSample As Short Get Set
public: property short BitsPerSample { short get (); void set (short value); }

Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290