7 writes to _streamData
System.Windows.Extensions (7)
System\Media\SoundPlayer.cs (7)
158_streamData = null; 177_streamData = null; 316_streamData = new byte[streamLen]; 400_streamData = null; 417_streamData = null; 500_streamData = new byte[BlockSize]; 513_streamData = newData;
11 references to _streamData
System.Windows.Extensions (11)
System\Media\SoundPlayer.cs (11)
232Debug.Assert(_streamData != null); 233ValidateSoundData(_streamData); 234Interop.WinMM.PlaySound(_streamData, IntPtr.Zero, Interop.WinMM.SND_MEMORY | Interop.WinMM.SND_NODEFAULT | flags); 257if (_streamData != null) 317_stream.ReadExactly(_streamData); 503int readBytes = await _stream.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false); 509if (_streamData.Length < _currentPos + BlockSize) 511byte[] newData = new byte[_streamData.Length * 2]; 512Array.Copy(_streamData, newData, _streamData.Length); 515readBytes = await _stream.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false);