6 writes to _currentPos
System.Windows.Extensions (6)
System\Media\SoundPlayer.cs (6)
159_currentPos = 0; 176_currentPos = 0; 315_currentPos = 0; 401_currentPos = 0; 418_currentPos = 0; 508_currentPos += readBytes;
3 references to _currentPos
System.Windows.Extensions (3)
System\Media\SoundPlayer.cs (3)
503int readBytes = await _stream.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false); 509if (_streamData.Length < _currentPos + BlockSize) 515readBytes = await _stream.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false);