/[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 2198 by iliev, Sun Jul 3 18:06:51 2011 UTC revision 2412 by schoenebeck, Mon Feb 4 21:52:56 2013 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2008 - 2010 Christian Schoenebeck                       *   *   Copyright (C) 2008 - 2013 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 95  Effect* EffectChain::GetEffect(int iChai Line 95  Effect* EffectChain::GetEffect(int iChai
95  int EffectChain::EffectCount() const {  int EffectChain::EffectCount() const {
96      return vEntries.size();      return vEntries.size();
97  }  }
98        
99    void EffectChain::Reconnect(AudioOutputDevice* pDevice) {
100        for (int i = 0; i < vEntries.size(); ++i) {
101            Effect* pEffect = vEntries[i].pEffect;
102            pEffect->InitEffect(pDevice);
103        }
104    }
105    
106  void EffectChain::SetEffectActive(int iChainPos, bool bOn) throw (Exception) {  void EffectChain::SetEffectActive(int iChainPos, bool bOn) throw (Exception) {
107      if (iChainPos < 0 || iChainPos >= vEntries.size())      if (iChainPos < 0 || iChainPos >= vEntries.size())

Legend:
Removed from v.2198  
changed lines
  Added in v.2412

  ViewVC Help
Powered by ViewVC