SoundLevelEffect Class Reference

#include <leveleffect.h>

Inherits PluginAClient.

Collaboration diagram for SoundLevelEffect:

Collaboration graph
[legend]

Public Member Functions

 SoundLevelEffect (PluginServer *server)
 ~SoundLevelEffect ()
int is_realtime ()
void read_data (KeyFrame *keyframe)
void save_data (KeyFrame *keyframe)
int process_realtime (int64_t size, double *input_ptr, double *output_ptr)
int load_defaults ()
int save_defaults ()
void reset ()
void update_gui ()
void render_gui (void *data, int size)

Data Fields

double rms_accum
double max_accum
int accum_size

Detailed Description

Definition at line 60 of file leveleffect.h.


Constructor & Destructor Documentation

SoundLevelEffect::SoundLevelEffect ( PluginServer server  ) 

Definition at line 156 of file leveleffect.C.

References PLUGIN_CONSTRUCTOR_MACRO, and reset().

Here is the call graph for this function:

SoundLevelEffect::~SoundLevelEffect (  ) 

Definition at line 163 of file leveleffect.C.

References PLUGIN_DESTRUCTOR_MACRO.


Member Function Documentation

int SoundLevelEffect::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 187 of file leveleffect.C.

void SoundLevelEffect::read_data ( KeyFrame keyframe  )  [virtual]

Reimplemented from PluginClient.

Definition at line 190 of file leveleffect.C.

References KeyFrame::data, XMLTag::get_property(), input, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

Here is the call graph for this function:

void SoundLevelEffect::save_data ( KeyFrame keyframe  )  [virtual]

int SoundLevelEffect::process_realtime ( int64_t  size,
double *  input_ptr,
double *  output_ptr 
) [virtual]

Reimplemented from PluginAClient.

Definition at line 255 of file leveleffect.C.

References accum_size, max_accum, PluginAClient::project_sample_rate, rms_accum, and PluginAClient::send_render_gui().

Here is the call graph for this function:

int SoundLevelEffect::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 225 of file leveleffect.C.

References BCASTDIR.

int SoundLevelEffect::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 234 of file leveleffect.C.

void SoundLevelEffect::reset (  ) 

Reimplemented from PluginClient.

Definition at line 179 of file leveleffect.C.

References accum_size, max_accum, and rms_accum.

void SoundLevelEffect::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 242 of file leveleffect.C.

void SoundLevelEffect::render_gui ( void *  data,
int  size 
) [virtual]

Reimplemented from PluginAClient.

Definition at line 282 of file leveleffect.C.

References BCTEXTLEN, and DB::todb().

Here is the call graph for this function:


Field Documentation

Definition at line 83 of file leveleffect.h.

Referenced by process_realtime(), and reset().

Definition at line 84 of file leveleffect.h.

Referenced by process_realtime(), and reset().

Definition at line 85 of file leveleffect.h.

Referenced by process_realtime(), and reset().


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

Generated on Mon Apr 28 14:43:48 2008 for Cinelerra by  doxygen 1.5.5