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

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

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

revision 2411 by schoenebeck, Thu Sep 30 20:00:43 2010 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 39  public: Line 39  public:
39       * Constructor.       * Constructor.
40       *       *
41       * @param pDevice - audio output context for the effects, providing       * @param pDevice - audio output context for the effects, providing
42       *                  informations like samplerate       *                  informations like samplerate and buffer size
43       * @param iEffectChainId - (optional) numerical ID of the effect chain,       * @param iEffectChainId - (optional) numerical ID of the effect chain,
44       *                         intended for master effect chains, unique among       *                         intended for master effect chains, unique among
45       *                         all master effect chains which share the same       *                         all master effect chains which share the same
# Line 97  public: Line 97  public:
97       * Whether the given effect is currently enabled.       * Whether the given effect is currently enabled.
98       */       */
99      bool IsEffectActive(int iChainPos) const;      bool IsEffectActive(int iChainPos) const;
100        
101        /**
102         * Should / will be called whenever the effect chaing is moving to
103         * another audio output device and also when an important audio
104         * parameter like sample rate or buffer size has been changed.
105         * Calling this method will cause all effects to inform about this
106         * change and prepare them for the new given audio output device.
107         *
108         * @param pDevice - audio output context for the effects, providing
109         *                  informations like samplerate and buffer size
110         */
111        void Reconnect(AudioOutputDevice* pDevice);
112    
113      /**      /**
114       * Clears the audio input and output channels of all effects in the chain.       * Clears the audio input and output channels of all effects in the chain.

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

  ViewVC Help
Powered by ViewVC