/[svn]/linuxsampler/trunk/src/engines/gig/EngineChannel.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/EngineChannel.cpp

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

revision 1846 by persson, Mon Feb 23 18:29:50 2009 UTC revision 1847 by iliev, Fri Feb 27 17:12:40 2009 UTC
# Line 321  namespace LinuxSampler { namespace gig { Line 321  namespace LinuxSampler { namespace gig {
321              cmd.bChangeInstrument = false;              cmd.bChangeInstrument = false;
322          }          }
323    
324            if (pInstrument != NULL) {
325                pInstrument = NULL;
326                InstrumentStat = -1;
327                InstrumentIdx  = -1;
328                InstrumentIdxName = "";
329                InstrumentFile = "";
330                bStatusChanged = true;
331            }
332    
333          for (uint i = 0; i < 128; i++) {          for (uint i = 0; i < 128; i++) {
334              pMIDIKeyInfo[i].pActiveVoices = new RTList<Voice>(pEngine->pVoicePool);              pMIDIKeyInfo[i].pActiveVoices = new RTList<Voice>(pEngine->pVoicePool);
335              pMIDIKeyInfo[i].pEvents       = new RTList<Event>(pEngine->pEventPool);              pMIDIKeyInfo[i].pEvents       = new RTList<Event>(pEngine->pEventPool);

Legend:
Removed from v.1846  
changed lines
  Added in v.1847

  ViewVC Help
Powered by ViewVC