Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

PluginAClientLAD Class Reference

#include <pluginaclientlad.h>

Inheritance diagram for PluginAClientLAD:

PluginAClient PluginClient List of all members.

Public Member Functions

 PluginAClientLAD (PluginServer *server)
 ~PluginAClientLAD ()
int process_realtime (int64_t size, double *input_ptr, double *output_ptr)
int process_realtime (int64_t size, double **input_ptr, double **output_ptr)
void update_gui ()
int is_realtime ()
int is_multichannel ()
int is_synthesis ()
int uses_gui ()
int load_defaults ()
int save_defaults ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
int get_inchannels ()
int get_outchannels ()
void delete_buffers ()
void delete_plugin ()
void init_plugin (int total_in, int total_out, int size)

Static Public Member Functions

static char * lad_to_string (char *string, char *input)
static char * lad_to_upper (char *string, char *input)

Public Attributes

LADSPA_Data ** in_buffers
int total_inbuffers
LADSPA_Data ** out_buffers
int total_outbuffers
int buffer_allocation
LADSPA_Handle lad_instance
LADSPA_Data dummy_control_output

Detailed Description

Definition at line 122 of file pluginaclientlad.h.


Constructor & Destructor Documentation

PluginAClientLAD::PluginAClientLAD PluginServer server  ) 
 

Definition at line 488 of file pluginaclientlad.C.

References PLUGIN_CONSTRUCTOR_MACRO.

PluginAClientLAD::~PluginAClientLAD  ) 
 

Definition at line 500 of file pluginaclientlad.C.

References delete_buffers(), delete_plugin(), and PLUGIN_DESTRUCTOR_MACRO.


Member Function Documentation

void PluginAClientLAD::delete_buffers  ) 
 

Definition at line 724 of file pluginaclientlad.C.

References buffer_allocation, in_buffers, out_buffers, total_inbuffers, and total_outbuffers.

Referenced by init_plugin(), and ~PluginAClientLAD().

void PluginAClientLAD::delete_plugin  ) 
 

Definition at line 741 of file pluginaclientlad.C.

References _LADSPA_Descriptor::cleanup, _LADSPA_Descriptor::deactivate, PluginServer::lad_descriptor, lad_instance, and PluginClient::server.

Referenced by init_plugin(), and ~PluginAClientLAD().

int PluginAClientLAD::get_inchannels  ) 
 

Definition at line 518 of file pluginaclientlad.C.

References PluginServer::lad_descriptor, LADSPA_IS_PORT_AUDIO, LADSPA_IS_PORT_INPUT, _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, and PluginClient::server.

Referenced by is_multichannel(), and process_realtime().

int PluginAClientLAD::get_outchannels  ) 
 

Definition at line 530 of file pluginaclientlad.C.

References PluginServer::lad_descriptor, LADSPA_IS_PORT_AUDIO, LADSPA_IS_PORT_OUTPUT, _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, and PluginClient::server.

Referenced by is_multichannel(), and process_realtime().

void PluginAClientLAD::init_plugin int  total_in,
int  total_out,
int  size
 

Definition at line 752 of file pluginaclientlad.C.

References _LADSPA_Descriptor::activate, buffer_allocation, _LADSPA_Descriptor::connect_port, delete_buffers(), delete_plugin(), dummy_control_output, in_buffers, _LADSPA_Descriptor::instantiate, PluginServer::lad_descriptor, lad_instance, LADSPA_IS_PORT_AUDIO, LADSPA_IS_PORT_CONTROL, LADSPA_IS_PORT_INPUT, LADSPA_IS_PORT_OUTPUT, out_buffers, _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, PluginAClient::project_sample_rate, PluginClient::server, total_inbuffers, and total_outbuffers.

Referenced by process_realtime().

int PluginAClientLAD::is_multichannel  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 512 of file pluginaclientlad.C.

References get_inchannels(), and get_outchannels().

int PluginAClientLAD::is_realtime  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 507 of file pluginaclientlad.C.

int PluginAClientLAD::is_synthesis  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 553 of file pluginaclientlad.C.

char * PluginAClientLAD::lad_to_string char *  string,
char *  input
[static]
 

Definition at line 572 of file pluginaclientlad.C.

Referenced by lad_to_upper().

char * PluginAClientLAD::lad_to_upper char *  string,
char *  input
[static]
 

Definition at line 584 of file pluginaclientlad.C.

References lad_to_string().

Referenced by load_defaults(), read_data(), save_data(), and save_defaults().

int PluginAClientLAD::load_defaults  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 593 of file pluginaclientlad.C.

References BCASTDIR, PluginServer::lad_descriptor, lad_to_upper(), LADSPA_IS_PORT_CONTROL, LADSPA_IS_PORT_INPUT, PluginClient::plugin_title(), _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, _LADSPA_Descriptor::PortNames, and PluginClient::server.

int PluginAClientLAD::process_realtime int64_t  size,
double **  input_ptr,
double **  output_ptr
[virtual]
 

Reimplemented from PluginAClient.

Definition at line 876 of file pluginaclientlad.C.

References get_inchannels(), get_outchannels(), in_buffers, init_plugin(), PluginServer::lad_descriptor, lad_instance, out_buffers, _LADSPA_Descriptor::run, PluginClient::server, PluginClient::total_in_buffers, PluginClient::total_out_buffers, and total_outbuffers.

int PluginAClientLAD::process_realtime int64_t  size,
double *  input_ptr,
double *  output_ptr
[virtual]
 

Reimplemented from PluginAClient.

Definition at line 845 of file pluginaclientlad.C.

References get_inchannels(), get_outchannels(), in_buffers, init_plugin(), PluginServer::lad_descriptor, lad_instance, out_buffers, _LADSPA_Descriptor::run, and PluginClient::server.

void PluginAClientLAD::read_data KeyFrame keyframe  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 685 of file pluginaclientlad.C.

References KeyFrame::data, XMLTag::get_property(), PluginServer::lad_descriptor, lad_to_upper(), LADSPA_IS_PORT_CONTROL, LADSPA_IS_PORT_INPUT, PluginClient::plugin_title(), _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, _LADSPA_Descriptor::PortNames, FileXML::read_tag(), PluginClient::server, FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

void PluginAClientLAD::save_data KeyFrame keyframe  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 655 of file pluginaclientlad.C.

References FileXML::append_tag(), KeyFrame::data, PluginServer::lad_descriptor, lad_to_upper(), LADSPA_IS_PORT_CONTROL, LADSPA_IS_PORT_INPUT, PluginClient::plugin_title(), _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, _LADSPA_Descriptor::PortNames, PluginClient::server, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

int PluginAClientLAD::save_defaults  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 631 of file pluginaclientlad.C.

References PluginServer::lad_descriptor, lad_to_upper(), LADSPA_IS_PORT_CONTROL, LADSPA_IS_PORT_INPUT, _LADSPA_Descriptor::PortCount, _LADSPA_Descriptor::PortDescriptors, _LADSPA_Descriptor::PortNames, and PluginClient::server.

void PluginAClientLAD::update_gui  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 568 of file pluginaclientlad.C.

int PluginAClientLAD::uses_gui  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 548 of file pluginaclientlad.C.


Member Data Documentation

int PluginAClientLAD::buffer_allocation
 

Definition at line 161 of file pluginaclientlad.h.

Referenced by delete_buffers(), and init_plugin().

LADSPA_Data PluginAClientLAD::dummy_control_output
 

Definition at line 163 of file pluginaclientlad.h.

Referenced by init_plugin().

LADSPA_Data** PluginAClientLAD::in_buffers
 

Definition at line 157 of file pluginaclientlad.h.

Referenced by delete_buffers(), init_plugin(), and process_realtime().

LADSPA_Handle PluginAClientLAD::lad_instance
 

Definition at line 162 of file pluginaclientlad.h.

Referenced by delete_plugin(), init_plugin(), and process_realtime().

LADSPA_Data** PluginAClientLAD::out_buffers
 

Definition at line 159 of file pluginaclientlad.h.

Referenced by delete_buffers(), init_plugin(), and process_realtime().

int PluginAClientLAD::total_inbuffers
 

Definition at line 158 of file pluginaclientlad.h.

Referenced by delete_buffers(), and init_plugin().

int PluginAClientLAD::total_outbuffers
 

Definition at line 160 of file pluginaclientlad.h.

Referenced by delete_buffers(), init_plugin(), and process_realtime().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:22 2006 for Cinelerra-svn by  doxygen 1.4.4