/[svn]/linuxsampler/trunk/src/effects/EffectChain.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/effects/EffectChain.cpp

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

revision 1722 by schoenebeck, Thu Apr 10 17:41:32 2008 UTC revision 2124 by schoenebeck, Sat Sep 18 09:24:41 2010 UTC
# Line 40  void EffectChain::InsertEffect(Effect* p Line 40  void EffectChain::InsertEffect(Effect* p
40              "Cannot insert effect at chain position " +              "Cannot insert effect at chain position " +
41              ToString(iChainPos) + ", index out of bounds."              ToString(iChainPos) + ", index out of bounds."
42          );          );
43      pEffect->InitEffect(pDevice);      pEffect->InitEffect(pDevice); // might throw Exception !
44      std::vector<_ChainEntry>::iterator iter = vEntries.begin();      std::vector<_ChainEntry>::iterator iter = vEntries.begin();
45      for (int i = 0; i < iChainPos; ++i) ++iter;      for (int i = 0; i < iChainPos; ++i) ++iter;
46      _ChainEntry entry = { pEffect, true };      _ChainEntry entry = { pEffect, true };

Legend:
Removed from v.1722  
changed lines
  Added in v.2124

  ViewVC Help
Powered by ViewVC