Guitarix
gx_engine::CabinetStereoConvolver Class Reference

#include <gx_internal_plugins.h>

Inheritance diagram for gx_engine::CabinetStereoConvolver:
gx_engine::FixedBaseConvolver PluginDef

Public Member Functions

 CabinetStereoConvolver (EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
 
 ~CabinetStereoConvolver ()
 
- 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 *input1, float *output, float *output1, 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_st::Dsp impf
 
gx_resample::FixedRateResampler smp
 
gx_resample::FixedRateResampler smps
 

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 501 of file gx_internal_plugins.h.

Constructor & Destructor Documentation

◆ CabinetStereoConvolver()

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

◆ ~CabinetStereoConvolver()

gx_engine::CabinetStereoConvolver::~CabinetStereoConvolver ( )

Member Function Documentation

◆ cabinet_changed()

bool gx_engine::CabinetStereoConvolver::cabinet_changed ( )
inlineprivate

Definition at line 518 of file gx_internal_plugins.h.

◆ check_update()

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

◆ do_update()

bool gx_engine::CabinetStereoConvolver::do_update ( )
private

◆ register_cab()

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

◆ run_cab_conf()

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

◆ start()

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

◆ sum_changed()

bool gx_engine::CabinetStereoConvolver::sum_changed ( )
inlineprivate

Definition at line 520 of file gx_internal_plugins.h.

◆ update_cabinet()

void gx_engine::CabinetStereoConvolver::update_cabinet ( )
inlineprivate

Definition at line 519 of file gx_internal_plugins.h.

◆ update_sum()

void gx_engine::CabinetStereoConvolver::update_sum ( )
inlineprivate

Definition at line 521 of file gx_internal_plugins.h.

Member Data Documentation

◆ bass

float gx_engine::CabinetStereoConvolver::bass
private

Definition at line 506 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ cab_names

value_pair* gx_engine::CabinetStereoConvolver::cab_names
private

Definition at line 509 of file gx_internal_plugins.h.

◆ cabinet

int gx_engine::CabinetStereoConvolver::cabinet
private

Definition at line 505 of file gx_internal_plugins.h.

Referenced by cabinet_changed(), and update_cabinet().

◆ current_cab

int gx_engine::CabinetStereoConvolver::current_cab
private

Definition at line 503 of file gx_internal_plugins.h.

Referenced by cabinet_changed(), and update_cabinet().

◆ impf

cabinet_impulse_former_st::Dsp gx_engine::CabinetStereoConvolver::impf
private

Definition at line 510 of file gx_internal_plugins.h.

◆ level

float gx_engine::CabinetStereoConvolver::level
private

Definition at line 504 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ smp

gx_resample::FixedRateResampler gx_engine::CabinetStereoConvolver::smp
private

Definition at line 511 of file gx_internal_plugins.h.

◆ smps

gx_resample::FixedRateResampler gx_engine::CabinetStereoConvolver::smps
private

Definition at line 512 of file gx_internal_plugins.h.

◆ sum

float gx_engine::CabinetStereoConvolver::sum
private

Definition at line 508 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ treble

float gx_engine::CabinetStereoConvolver::treble
private

Definition at line 507 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().


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