|
hydrogen 1.1.1
|
#include <LadspaFX.h>
Public Types | |
| enum | { MONO_FX , STEREO_FX , UNDEFINED } |
Public Member Functions | |
| ~LadspaFX () | |
| void | connectAudioPorts (float *pIn_L, float *pIn_R, float *pOut_L, float *pOut_R) |
| void | activate () |
| void | deactivate () |
| void | processFX (unsigned nFrames) |
| const QString & | getPluginLabel () |
| const QString & | getPluginName () |
| void | setPluginName (const QString &sName) |
| const QString & | getLibraryPath () |
| bool | isEnabled () |
| void | setEnabled (bool value) |
| int | getPluginType () |
| void | setVolume (float fValue) |
| float | getVolume () |
Public Member Functions inherited from Object | |
| ~Object () | |
| destructor More... | |
| Object (const Object &obj) | |
| copy constructor More... | |
| Object (const char *class_name) | |
| constructor More... | |
| const char * | class_name () const |
| return the class name More... | |
| virtual QString | toQString (const QString &sPrefix, bool bShort=true) const |
| Formatted string version for debugging purposes. More... | |
| void | Print (bool bShort=true) const |
| Prints content of toQString() via DEBUGLOG. More... | |
Static Public Member Functions | |
| static LadspaFX * | load (const QString &sLibraryPath, const QString &sPluginLabel, long nSampleRate) |
Static Public Member Functions inherited from Object | |
| static void | set_count (bool flag) |
| enable/disable class instances counting More... | |
| static bool | count_active () |
| return true if class instances counting is enabled More... | |
| static unsigned | objects_count () |
| return the number of objects More... | |
| static void | write_objects_map_to (std::ostream &out) |
| output the full objects map to a given ostream More... | |
| static void | write_objects_map_to_cerr () |
| output objects map to stderr More... | |
| static int | bootstrap (Logger *logger, bool count=false) |
| must be called before any Object instantiation ! More... | |
| static Logger * | logger () |
| return the logger instance More... | |
Data Fields | |
| float * | m_pBuffer_L |
| float * | m_pBuffer_R |
| std::vector< LadspaControlPort * > | inputControlPorts |
| std::vector< LadspaControlPort * > | outputControlPorts |
Private Member Functions | |
| LadspaFX (const QString &sLibraryPath, const QString &sPluginLabel) | |
Private Attributes | |
| bool | m_pluginType |
| bool | m_bEnabled |
| bool | m_bActivated |
| QString | m_sLabel |
| QString | m_sName |
| QString | m_sLibraryPath |
| QLibrary * | m_pLibrary |
| const LADSPA_Descriptor * | m_d |
| LADSPA_Handle | m_handle |
| float | m_fVolume |
| unsigned | m_nICPorts |
| input control port More... | |
| unsigned | m_nOCPorts |
| output control port More... | |
| unsigned | m_nIAPorts |
| input audio port More... | |
| unsigned | m_nOAPorts |
| output audio port More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Object | |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. More... | |
Static Protected Attributes inherited from Object | |
| static Logger * | __logger = nullptr |
| logger instance pointer More... | |
| ~LadspaFX | ( | ) |
|
private |
| void activate | ( | ) |
| void connectAudioPorts | ( | float * | pIn_L, |
| float * | pIn_R, | ||
| float * | pOut_L, | ||
| float * | pOut_R | ||
| ) |
| void deactivate | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
| void processFX | ( | unsigned | nFrames | ) |
|
inline |
|
inline |
| void setVolume | ( | float | fValue | ) |
| std::vector<LadspaControlPort*> inputControlPorts |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
input audio port
|
private |
input control port
|
private |
output audio port
|
private |
output control port
| float* m_pBuffer_L |
| float* m_pBuffer_R |
|
private |
|
private |
|
private |
|
private |
|
private |
| std::vector<LadspaControlPort*> outputControlPorts |