public BassPlayer(string playerMainDirectory) { _controller = new Controller(this, playerMainDirectory); _inputSourceFactory = new InputSourceFactory(); _externalState = PlayerState.Stopped; }
public void Dispose() { Log.Debug("Disposing BassPlayer"); _inputSourceFactory.Dispose(); _inputSourceFactory = null; _controller.Dispose(); _controller = null; }