Esempio n. 1
0
 private PlaybackSession(Controller controller, int channels, int sampleRate, bool isPassThrough)
 {
     _controller              = controller;
     _playbackProcessor       = _controller.PlaybackProcessor;
     _playbackBuffer          = new PlaybackBuffer(controller);
     _upDownMixer             = new UpDownMixer(controller);
     _VSTProcessor            = new VSTProcessor(controller);
     _WinAmpDSPProcessor      = new WinAmpDSPProcessor(controller);
     _channels                = channels;
     _sampleRate              = sampleRate;
     _isPassThrough           = isPassThrough;
     _streamWriteProcDelegate = OutputStreamWriteProc;
     _state = SessionState.Reset;
 }
Esempio n. 2
0
 private PlaybackSession(Controller controller, int channels, int sampleRate, bool isPassThrough)
 {
   _controller = controller;
   _playbackProcessor = _controller.PlaybackProcessor;
   _playbackBuffer = new PlaybackBuffer(controller);
   _upDownMixer = new UpDownMixer(controller);
   _VSTProcessor = new VSTProcessor(controller);
   _WinAmpDSPProcessor = new WinAmpDSPProcessor(controller);
   _channels = channels;
   _sampleRate = sampleRate;
   _isPassThrough = isPassThrough;
   _streamWriteProcDelegate = OutputStreamWriteProc;
   _state = SessionState.Reset;
 }