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 * |
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 |
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. |