public void Pause() { if (_source != null) { _source.stop(0); } _source = null; _paused = true; _pauseStart = (int)(_context.currentTime * 1000); _audioNode.disconnect(0); }
public void Pause() { if (_source != null) { _source.stop(0); _source.disconnect(0); } _source = null; _audioNode.disconnect(0); }