#include <effect.h>
Inherited by ChannelConverter, Dithering, and ReplayGain.
The Effect class provides the base interface class of audio effects.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ Effect()
◆ ~Effect()
◆ applyEffect()
virtual void applyEffect |
( |
Buffer * |
b | ) |
|
|
pure virtual |
Adds audio effect to the buffer b. Subclass should implement this function.
◆ audioParameters()
Returns audio parameters for output data.
◆ channelMap()
◆ channels()
◆ configure()
virtual void configure |
( |
quint32 |
srate, |
|
|
ChannelMap |
map |
|
) |
| |
|
virtual |
Prepares object for usage. Subclasses that reimplement this function must call the base implementation.
- Parameters
-
srate | Sample rate. |
map | Map of channels. |
◆ create()
Creates effect object from factory. Returns effect objects if factory is enabled, otherwise returns 0.
◆ enabledFactories()
Returns a list of enabled effect factories.
◆ factories()
Returns a list of effect factories.
◆ factory()
Returns assigned factory object.
◆ file()
Returns plugin file path.
- Parameters
-
◆ findFactory()
Finds effect factory object by short name shortName. Returns effect factory pointer. If no match is found, 0 is returned. The search is case sensitive.
◆ isEnabled()
Returns true if input plugin is enabled, otherwise returns false
- Parameters
-
◆ sampleRate()
quint32 sampleRate |
( |
| ) |
const |
◆ setEnabled()
static void setEnabled |
( |
EffectFactory * |
factory, |
|
|
bool |
enable = true |
|
) |
| |
|
static |
Sets whether the effect plugin is enabled.
- Parameters
-
factory | Effect plugin factory. |
enable | Plugin enable state (true - enable, false - disable) |
The documentation for this class was generated from the following file:
- /usr/src/RPM/BUILD/qmmp-1.4.6/src/qmmp/effect.h