/[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 1723 by schoenebeck, Sun Apr 20 08:53:39 2008 UTC revision 1761 by iliev, Fri Aug 29 15:42:06 2008 UTC
# Line 24  Line 24 
24  #include "EngineChannel.h"  #include "EngineChannel.h"
25    
26  #include "../../common/global_private.h"  #include "../../common/global_private.h"
27    #include "../../Sampler.h"
28    
29  namespace LinuxSampler { namespace gig {  namespace LinuxSampler { namespace gig {
30    
# Line 329  namespace LinuxSampler { namespace gig { Line 330  namespace LinuxSampler { namespace gig {
330                  // release the currently loaded instrument                  // release the currently loaded instrument
331                  Engine::instruments.HandBackInstrument(cmd.pInstrument, this, d);                  Engine::instruments.HandBackInstrument(cmd.pInstrument, this, d);
332              }              }
333    
334              if (d) delete d;              if (d) delete d;
335    
336              // release all active dimension regions to resource              // release all active dimension regions to resource
# Line 451  namespace LinuxSampler { namespace gig { Line 453  namespace LinuxSampler { namespace gig {
453          }          }
454          fxSends.push_back(pFxSend);          fxSends.push_back(pFxSend);
455          if (pEngine) pEngine->Enable();          if (pEngine) pEngine->Enable();
456          fireFxSendCountChanged(iSamplerChannelIndex, GetFxSendCount());          fireFxSendCountChanged(GetSamplerChannel()->Index(), GetFxSendCount());
457    
458          return pFxSend;          return pFxSend;
459      }      }
# Line 490  namespace LinuxSampler { namespace gig { Line 492  namespace LinuxSampler { namespace gig {
492              }              }
493          }          }
494          if (pEngine) pEngine->Enable();          if (pEngine) pEngine->Enable();
495          fireFxSendCountChanged(iSamplerChannelIndex, GetFxSendCount());          fireFxSendCountChanged(GetSamplerChannel()->Index(), GetFxSendCount());
496      }      }
497    
498      /**      /**

Legend:
Removed from v.1723  
changed lines
  Added in v.1761

  ViewVC Help
Powered by ViewVC