Alvas.Audio Class Library

WaveFormat.wBitsPerSample Field

Bits per sample for the wFormatTag format type. If wFormatTag is PCM, then wBitsPerSample 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. Note that some compression schemes cannot define a value for wBitsPerSample, so this member can be zero.

[Visual Basic]
Public wBitsPerSample As Short
[C#]
public Int16 wBitsPerSample;

See Also

WaveFormat Class | Alvas.Audio Namespace