public void Stop() { if (_instream == null) { throw new Exception("You MUST call Initialize()"); } _instream.Dispose(); }
public void Dispose() { _instream?.Dispose(); _instream = null; Device?.RemoveReference(); Device = null; _api?.Disconnect(); _api?.Dispose(); }