2 writes to _stream
System.Speech (2)
Internal\Synthesis\SpeakInfo.cs (2)
122
_stream
= _resourceLoader.LoadFile(uri, out _mimeType, out baseAudio, out _localFile);
156
_stream
= null!;
9 references to _stream
System.Speech (9)
Internal\Synthesis\AudioBase.cs (7)
123
byte[] data = new byte[(int)audio.
_stream
.Length];
125
audio.
_stream
.ReadExactly(data);
137
BinaryReader br = new(audio.
_stream
);
157
if (audio.
_stream
.Position + 8 >= audio.
_stream
.Length)
167
byte[] ab = Helpers.ReadStreamToByteArray(audio.
_stream
, dataHdr._len);
173
audio.
_stream
.Seek(dataHdr._len, SeekOrigin.Current);
Internal\Synthesis\SpeakInfo.cs (2)
153
if (
_stream
!= null)
155
_stream
.Dispose();