6 writes to nAvgBytesPerSec
System.Speech (6)
AudioFormat\SpeechAudioFormatInfo.cs (1)
148wfx.nAvgBytesPerSec = AverageBytesPerSecond;
Internal\SapiInterop\SpAudioStreamWrapper.cs (1)
27wfx.nAvgBytesPerSec = audioFormat.AverageBytesPerSecond;
Internal\Synthesis\AudioBase.cs (3)
101wfx.nAvgBytesPerSec = 8000; 386wfx.nAvgBytesPerSec = Marshal.ReadInt32(ptr, 8); 438wfx.nAvgBytesPerSec = 44100;
Internal\Synthesis\AudioFileOut.cs (1)
44_wfxOut.nAvgBytesPerSec = _wfxOut.wBitsPerSample * _wfxOut.nSamplesPerSec * _wfxOut.nChannels / 8;
2 references to nAvgBytesPerSec
System.Speech (2)
Internal\Synthesis\AudioFileOut.cs (2)
206if (_wfxIn.nAvgBytesPerSec == 0) 210return new TimeSpan((_bytesWritten * TimeSpan.TicksPerSecond) / _wfxIn.nAvgBytesPerSec);