6 writes to wBitsPerSample
System.Speech (6)
AudioFormat\SpeechAudioFormatInfo.cs (1)
150wfx.wBitsPerSample = (short)BitsPerSample;
Internal\SapiInterop\SpAudioStreamWrapper.cs (1)
29wfx.wBitsPerSample = (short)audioFormat.BitsPerSample;
Internal\Synthesis\AudioBase.cs (3)
103wfx.wBitsPerSample = 8; 388wfx.wBitsPerSample = Marshal.ReadInt16(ptr, 14); 440wfx.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;