TimeStretch Class Reference

#include <timestretch.h>

Inherits PluginAClient.

Collaboration diagram for TimeStretch:

Collaboration graph
[legend]

Public Member Functions

 TimeStretch (PluginServer *server)
 ~TimeStretch ()
VFramenew_picon ()
char * plugin_title ()
int is_realtime ()
int get_parameters ()
void read_data (KeyFrame *keyframe)
void save_data (KeyFrame *keyframe)
int process_buffer (int64_t size, double *buffer, int64_t start_position, int sample_rate)
int show_gui ()
void raise_window ()
int set_string ()
int load_configuration ()
int load_defaults ()
int save_defaults ()
void update_gui ()

Data Fields

PitchEnginepitch
Resampleresample
double * temp
int temp_allocated
double * input
int input_allocated
TimeStretchEnginestretch
BC_Hashdefaults
TimeStretchConfig config
TimeStretchThread * thread

Detailed Description

Definition at line 93 of file timestretch.h.


Constructor & Destructor Documentation

TimeStretch::TimeStretch ( PluginServer server  ) 

Definition at line 292 of file timestretch.C.

References input, input_allocated, load_defaults(), pitch, PLUGIN_CONSTRUCTOR_MACRO, resample, stretch, and temp.

Here is the call graph for this function:

TimeStretch::~TimeStretch (  ) 

Definition at line 306 of file timestretch.C.

References input, pitch, PLUGIN_DESTRUCTOR_MACRO, resample, stretch, and temp.


Member Function Documentation

VFrame* TimeStretch::new_picon (  )  [virtual]

Reimplemented from PluginClient.

char * TimeStretch::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 318 of file timestretch.C.

References N_.

int TimeStretch::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 319 of file timestretch.C.

int TimeStretch::get_parameters (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 433 of file timestretch.C.

References BC_DisplayInfo::get_abs_cursor_x(), BC_DisplayInfo::get_abs_cursor_y(), and window.

Here is the call graph for this function:

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

Reimplemented from PluginClient.

Definition at line 321 of file timestretch.C.

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

Here is the call graph for this function:

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

int TimeStretch::process_buffer ( int64_t  size,
double *  buffer,
int64_t  start_position,
int  sample_rate 
) [virtual]

int TimeStretch::show_gui (  )  [virtual]

Reimplemented from PluginClient.

void TimeStretch::raise_window (  )  [virtual]

Reimplemented from PluginClient.

int TimeStretch::set_string (  )  [virtual]

Reimplemented from PluginClient.

int TimeStretch::load_configuration (  ) 

Referenced by process_buffer().

int TimeStretch::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 358 of file timestretch.C.

References BCASTDIR, BCTEXTLEN, config, defaults, BC_Hash::get(), BC_Hash::load(), and TimeStretchConfig::scale.

Referenced by TimeStretch().

Here is the call graph for this function:

int TimeStretch::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 372 of file timestretch.C.

References config, defaults, BC_Hash::save(), TimeStretchConfig::scale, and BC_Hash::update().

Here is the call graph for this function:

void TimeStretch::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 420 of file timestretch.C.


Field Documentation

Definition at line 126 of file timestretch.h.

Referenced by process_buffer(), TimeStretch(), and ~TimeStretch().

Definition at line 128 of file timestretch.h.

Referenced by TimeStretch(), and ~TimeStretch().

Definition at line 129 of file timestretch.h.

Definition at line 130 of file timestretch.h.

Referenced by read_data(), TimeStretch(), and ~TimeStretch().

Definition at line 131 of file timestretch.h.

Referenced by TimeStretch().

Definition at line 133 of file timestretch.h.

Referenced by TimeStretch(), and ~TimeStretch().

Definition at line 135 of file timestretch.h.

Referenced by load_defaults(), and save_defaults().

TimeStretchThread* TimeStretch::thread

Definition at line 137 of file timestretch.h.


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

Generated on Mon Apr 28 14:46:06 2008 for Cinelerra by  doxygen 1.5.5