Guitarix
gx_engine::PreampConvolver Class Reference

#include <gx_internal_plugins.h>

Inheritance diagram for gx_engine::PreampConvolver:
gx_engine::FixedBaseConvolver PluginDef

Public Member Functions

 PreampConvolver (EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
 
 ~PreampConvolver ()
 
- 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 preamp_changed ()
 
void update_preamp ()
 
bool sum_changed ()
 
void update_sum ()
 

Static Private Member Functions

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

Private Attributes

int current_pre
 
float level
 
int preamp
 
float bass
 
float treble
 
float sum
 
value_pairpre_names
 
preamp_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 535 of file gx_internal_plugins.h.

Constructor & Destructor Documentation

◆ PreampConvolver()

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

◆ ~PreampConvolver()

gx_engine::PreampConvolver::~PreampConvolver ( )

Member Function Documentation

◆ check_update()

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

◆ do_update()

bool gx_engine::PreampConvolver::do_update ( )
private

◆ preamp_changed()

bool gx_engine::PreampConvolver::preamp_changed ( )
inlineprivate

Definition at line 551 of file gx_internal_plugins.h.

◆ register_pre()

static int gx_engine::PreampConvolver::register_pre ( const ParamReg reg)
staticprivate

◆ run_pre_conf()

static void gx_engine::PreampConvolver::run_pre_conf ( int  count,
float *  input,
float *  output,
PluginDef  
)
staticprivate

◆ start()

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

◆ sum_changed()

bool gx_engine::PreampConvolver::sum_changed ( )
inlineprivate

Definition at line 553 of file gx_internal_plugins.h.

◆ update_preamp()

void gx_engine::PreampConvolver::update_preamp ( )
inlineprivate

Definition at line 552 of file gx_internal_plugins.h.

◆ update_sum()

void gx_engine::PreampConvolver::update_sum ( )
inlineprivate

Definition at line 554 of file gx_internal_plugins.h.

Member Data Documentation

◆ bass

float gx_engine::PreampConvolver::bass
private

Definition at line 540 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ current_pre

int gx_engine::PreampConvolver::current_pre
private

Definition at line 537 of file gx_internal_plugins.h.

Referenced by preamp_changed(), and update_preamp().

◆ impf

preamp_impulse_former::Dsp gx_engine::PreampConvolver::impf
private

Definition at line 544 of file gx_internal_plugins.h.

◆ level

float gx_engine::PreampConvolver::level
private

Definition at line 538 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ pre_names

value_pair* gx_engine::PreampConvolver::pre_names
private

Definition at line 543 of file gx_internal_plugins.h.

◆ preamp

int gx_engine::PreampConvolver::preamp
private

Definition at line 539 of file gx_internal_plugins.h.

Referenced by preamp_changed(), and update_preamp().

◆ smp

gx_resample::FixedRateResampler gx_engine::PreampConvolver::smp
private

Definition at line 545 of file gx_internal_plugins.h.

◆ sum

float gx_engine::PreampConvolver::sum
private

Definition at line 542 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().

◆ treble

float gx_engine::PreampConvolver::treble
private

Definition at line 541 of file gx_internal_plugins.h.

Referenced by sum_changed(), and update_sum().


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