DelayAudio Class Reference

#include <delayaudio.h>

Inherits PluginAClient.

Collaboration diagram for DelayAudio:

Collaboration graph
[legend]

Public Member Functions

 DelayAudio (PluginServer *server)
 ~DelayAudio ()
VFramenew_picon ()
char * plugin_title ()
int is_realtime ()
int load_defaults ()
int save_defaults ()
void read_data (KeyFrame *keyframe)
void save_data (KeyFrame *keyframe)
int process_realtime (int64_t size, double *input_ptr, double *output_ptr)
int show_gui ()
void raise_window ()
int set_string ()
void load_configuration ()
void reset ()
void reconfigure ()
void update_gui ()

Data Fields

double * buffer
int64_t allocation
int64_t input_start
int need_reconfigure
DelayAudioThreadthread
BC_Hashdefaults
DelayAudioConfig config

Detailed Description

Definition at line 77 of file delayaudio.h.


Constructor & Destructor Documentation

DelayAudio::DelayAudio ( PluginServer server  ) 

Definition at line 23 of file delayaudio.C.

References load_defaults(), and reset().

Here is the call graph for this function:

DelayAudio::~DelayAudio (  ) 

Definition at line 30 of file delayaudio.C.

References buffer, DelayAudioThread::completion, defaults, Mutex::lock(), save_defaults(), BC_WindowBase::set_done(), thread, and DelayAudioThread::window.

Here is the call graph for this function:


Member Function Documentation

VFrame * DelayAudio::new_picon (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 47 of file delayaudio.C.

References picon_png.

char * DelayAudio::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 52 of file delayaudio.C.

References N_.

int DelayAudio::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 53 of file delayaudio.C.

int DelayAudio::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 79 of file delayaudio.C.

References BCASTDIR, BCTEXTLEN, config, defaults, BC_Hash::get(), DelayAudioConfig::length, and BC_Hash::load().

Referenced by DelayAudio().

Here is the call graph for this function:

int DelayAudio::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 92 of file delayaudio.C.

References config, defaults, DelayAudioConfig::length, BC_Hash::save(), and BC_Hash::update().

Referenced by ~DelayAudio().

Here is the call graph for this function:

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

Reimplemented from PluginClient.

Definition at line 99 of file delayaudio.C.

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

Referenced by load_configuration().

Here is the call graph for this function:

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

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

Reimplemented from PluginAClient.

Definition at line 165 of file delayaudio.C.

References allocation, buffer, input_start, load_configuration(), memcpy, need_reconfigure, and reconfigure().

Here is the call graph for this function:

int DelayAudio::show_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 186 of file delayaudio.C.

References load_configuration(), Thread::start(), and thread.

Here is the call graph for this function:

void DelayAudio::raise_window (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 201 of file delayaudio.C.

References BC_WindowBase::flush(), BC_WindowBase::raise_window(), thread, and DelayAudioThread::window.

Here is the call graph for this function:

int DelayAudio::set_string (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 195 of file delayaudio.C.

References PluginClient::gui_string, BC_WindowBase::set_title(), thread, and DelayAudioThread::window.

Here is the call graph for this function:

void DelayAudio::load_configuration (  ) 

void DelayAudio::reset (  ) 

Reimplemented from PluginClient.

Definition at line 56 of file delayaudio.C.

References buffer, need_reconfigure, and thread.

Referenced by DelayAudio().

void DelayAudio::reconfigure (  ) 

void DelayAudio::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 210 of file delayaudio.C.

References load_configuration(), BC_WindowBase::lock_window(), thread, BC_WindowBase::unlock_window(), DelayAudioWindow::update_gui(), and DelayAudioThread::window.

Here is the call graph for this function:


Field Documentation

Definition at line 106 of file delayaudio.h.

Referenced by process_realtime(), reconfigure(), reset(), and ~DelayAudio().

Definition at line 107 of file delayaudio.h.

Referenced by process_realtime(), and reconfigure().

Definition at line 108 of file delayaudio.h.

Referenced by process_realtime(), and reconfigure().

Definition at line 109 of file delayaudio.h.

Referenced by load_configuration(), process_realtime(), reconfigure(), and reset().

Definition at line 110 of file delayaudio.h.

Referenced by raise_window(), reset(), set_string(), show_gui(), update_gui(), and ~DelayAudio().

Definition at line 111 of file delayaudio.h.

Referenced by load_defaults(), save_defaults(), and ~DelayAudio().


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

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