6 writes to nAvgBytesPerSec
System.Speech (6)
AudioFormat\SpeechAudioFormatInfo.cs (1)
148
wfx.
nAvgBytesPerSec
= AverageBytesPerSecond;
Internal\SapiInterop\SpAudioStreamWrapper.cs (1)
27
wfx.
nAvgBytesPerSec
= audioFormat.AverageBytesPerSecond;
Internal\Synthesis\AudioBase.cs (3)
101
wfx.
nAvgBytesPerSec
= 8000;
386
wfx.
nAvgBytesPerSec
= Marshal.ReadInt32(ptr, 8);
438
wfx.
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)
206
if (_wfxIn.
nAvgBytesPerSec
== 0)
210
return new TimeSpan((_bytesWritten * TimeSpan.TicksPerSecond) / _wfxIn.
nAvgBytesPerSec
);