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)
123byte[] data = new byte[(int)audio._stream.Length]; 125audio._stream.ReadExactly(data); 137BinaryReader br = new(audio._stream); 157if (audio._stream.Position + 8 >= audio._stream.Length) 167byte[] ab = Helpers.ReadStreamToByteArray(audio._stream, dataHdr._len); 173audio._stream.Seek(dataHdr._len, SeekOrigin.Current);
Internal\Synthesis\SpeakInfo.cs (2)
153if (_stream != null) 155_stream.Dispose();