示例#1
0
 public BassPlayer(string playerMainDirectory)
 {
   _controller = new Controller(this, playerMainDirectory);
   _inputSourceFactory = new InputSourceFactory();
   _externalState = PlayerState.Stopped;
 }
示例#2
0
    public void Dispose()
    {
      Log.Debug("Disposing BassPlayer");

      _inputSourceFactory.Dispose();
      _inputSourceFactory = null;
      _controller.Dispose();
      _controller = null;
    }