Guitarix
gx_engine::CabinetConvolver Class Reference

#include <gx_internal_plugins.h>

Inheritance diagram for gx_engine::CabinetConvolver:
gx_engine::FixedBaseConvolver PluginDef

Public Member Functions

 CabinetConvolver (EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
 
 ~CabinetConvolver ()
 
- Public Member Functions inherited from gx_engine::FixedBaseConvolver
 FixedBaseConvolver (EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
 
virtual ~FixedBaseConvolver ()
 
void set_sync (bool val)
 

Private Member Functions

bool do_update ()
 
virtual void check_update ()
 
virtual bool start (bool force=false)
 
bool cabinet_changed ()
 
void update_cabinet ()
 
bool sum_changed ()
 
void update_sum ()
 

Static Private Member Functions

static void run_cab_conf (int count, float *input, float *output, PluginDef *)
 
static int register_cab (const ParamReg &reg)
 

Private Attributes

int current_cab
 
float level
 
int cabinet
 
float bass
 
float treble
 
float sum
 
value_paircab_names
 
cabinet_impulse_former::Dsp impf
 
gx_resample::FixedRateResampler smp
 

Additional Inherited Members

- Public Attributes inherited from gx_engine::FixedBaseConvolver
Plugin plugin
 
- Protected Member Functions inherited from gx_engine::FixedBaseConvolver
unsigned int getSamplingFreq ()
 
void change_buffersize (unsigned int)
 
int conv_start ()
 
bool check_update_timeout ()
 
virtual void check_update ()=0
 
virtual bool start (bool force=false)=0
 
- Static Protected Member Functions inherited from gx_engine::FixedBaseConvolver
static void init (unsigned int samplingFreq, PluginDef *p)
 
static int activate (bool start, PluginDef *pdef)
 
- Protected Attributes inherited from gx_engine::FixedBaseConvolver
GxSimpleConvolver conv
 
boost::mutex activate_mutex
 
EngineControlengine
 
sigc::slot< void > sync
 
bool activated
 
unsigned int SamplingFreq
 
unsigned int buffersize
 
unsigned int bz
 
sigc::connection update_conn
 
- Protected Attributes inherited from PluginDef
int version
 
int flags
 
const char * id
 
const char * name
 
const char ** groups
 
const char * description
 
const char * category
 
const char * shortname
 
process_mono_audio mono_audio
 
process_stereo_audio stereo_audio
 
inifunc set_samplerate
 
activatefunc activate_plugin
 
registerfunc register_params
 
uiloader load_ui
 
clearstatefunc clear_state
 
deletefunc delete_instance
 

Detailed Description

Definition at line 473 of file gx_internal_plugins.h.

Constructor & Destructor Documentation

◆ CabinetConvolver()

gx_engine::CabinetConvolver::CabinetConvolver ( EngineControl engine,
sigc::slot< void >  sync,
gx_resample::BufferResampler resamp 
)

◆ ~CabinetConvolver()

gx_engine::CabinetConvolver::~CabinetConvolver ( )

Member Function Documentation

◆ cabinet_changed()

bool gx_engine::CabinetConvolver::cabinet_changed ( )
inlineprivate

Definition at line 489 of file gx_internal_plugins.h.

◆ check_update()

virtual void gx_engine::CabinetConvolver::check_update ( )
privatevirtual

◆ do_update()

bool gx_engine::CabinetConvolver::do_update ( )
private

◆ register_cab()

static int gx_engine::CabinetConvolver::register_cab ( const ParamReg reg)
staticprivate

◆ run_cab_conf()

static void gx_engine::CabinetConvolver::run_cab_conf ( int  count,
float *  input,
float *  output,
PluginDef  
)
staticprivate

◆ start()

virtual bool gx_engine::CabinetConvolver::start ( bool  force = false)
privatevirtual

◆ sum_changed()

bool gx_engine::CabinetConvolver::sum_changed ( )
inlineprivate

Definition at line 491 of file gx_internal_plugins.h.

◆ update_cabinet()

void gx_engine::CabinetConvolver::update_cabinet ( )
inlineprivate

Definition at line 490 of file gx_internal_plugins.h.

◆ update_sum()

void gx_engine::CabinetConvolver::update_sum ( )
inlineprivate

Definition at line 492 of file gx_internal_plugins.h.

Member Data Documentation

◆ bass

float gx_engine::CabinetConvolver::bass
private

Definition at line 478 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ cab_names

value_pair* gx_engine::CabinetConvolver::cab_names
private

Definition at line 481 of file gx_internal_plugins.h.

◆ cabinet

int gx_engine::CabinetConvolver::cabinet
private

Definition at line 477 of file gx_internal_plugins.h.

Referenced by cabinet_changed(), and update_cabinet().

◆ current_cab

int gx_engine::CabinetConvolver::current_cab
private

Definition at line 475 of file gx_internal_plugins.h.

Referenced by cabinet_changed(), and update_cabinet().

◆ impf

cabinet_impulse_former::Dsp gx_engine::CabinetConvolver::impf
private

Definition at line 482 of file gx_internal_plugins.h.

◆ level

float gx_engine::CabinetConvolver::level
private

Definition at line 476 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ smp

gx_resample::FixedRateResampler gx_engine::CabinetConvolver::smp
private

Definition at line 483 of file gx_internal_plugins.h.

◆ sum

float gx_engine::CabinetConvolver::sum
private

Definition at line 480 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ treble

float gx_engine::CabinetConvolver::treble
private

Definition at line 479 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().


The documentation for this class was generated from the following file: