6 writes to wBitsPerSample
System.Speech (6)
AudioFormat\SpeechAudioFormatInfo.cs (1)
150
wfx.
wBitsPerSample
= (short)BitsPerSample;
Internal\SapiInterop\SpAudioStreamWrapper.cs (1)
29
wfx.
wBitsPerSample
= (short)audioFormat.BitsPerSample;
Internal\Synthesis\AudioBase.cs (3)
103
wfx.
wBitsPerSample
= 8;
388
wfx.
wBitsPerSample
= Marshal.ReadInt16(ptr, 14);
440
wfx.
wBitsPerSample
= 16;
Internal\Synthesis\AudioFileOut.cs (1)
34
_wfxOut.
wBitsPerSample
= (short)formatInfo.BitsPerSample;
2 references to wBitsPerSample
System.Speech (2)
Internal\Synthesis\AudioFileOut.cs (2)
43
_wfxOut.nBlockAlign = (short)(_wfxOut.nChannels * _wfxOut.
wBitsPerSample
/ 8);
44
_wfxOut.nAvgBytesPerSec = _wfxOut.
wBitsPerSample
* _wfxOut.nSamplesPerSec * _wfxOut.nChannels / 8;