/[svn]/linuxsampler/trunk/src/Sampler.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/Sampler.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 840 by persson, Sun Feb 26 13:00:08 2006 UTC revision 846 by persson, Sun Mar 19 16:38:22 2006 UTC
# Line 91  namespace LinuxSampler { Line 91  namespace LinuxSampler {
91          }          }
92    
93          // connect new engine channel          // connect new engine channel
         if (pMidiInputPort) pMidiInputPort->Connect(pNewEngineChannel, GetMidiInputChannel());  
94          if (pAudioOutputDevice) {          if (pAudioOutputDevice) {
95              pNewEngineChannel->Connect(pAudioOutputDevice);              pNewEngineChannel->Connect(pAudioOutputDevice);
96              pAudioOutputDevice->Connect(pNewEngineChannel->GetEngine());              pAudioOutputDevice->Connect(pNewEngineChannel->GetEngine());
97          }          }
98            if (pMidiInputPort) pMidiInputPort->Connect(pNewEngineChannel, GetMidiInputChannel());
99          pEngineChannel = pNewEngineChannel;          pEngineChannel = pNewEngineChannel;
100    
101          // from now on get MIDI device and port from EngineChannel object          // from now on get MIDI device and port from EngineChannel object

Legend:
Removed from v.840  
changed lines
  Added in v.846

  ViewVC Help
Powered by ViewVC