PluginAClient Class Reference

#include <pluginaclient.h>

Inherits PluginClient.

Inherited by CDRipMain, CompressorEffect, CrossfadeMain, DBXEffect, DelayAudio, DenoiseEffect, DenoiseFFTEffect, Despike, FreeverbEffect, Gain, GraphicEQ, InterpolateAllEffect, InterpolateAudioEffect, InvertAudioEffect, LiveAudio, LoopAudio, NormalizeMain, OverlayAudio, ParametricEQ, PitchEffect, PluginAClientLAD, ResampleEffect, Reverb, ReverseAudio, SoundLevelEffect, Spectrogram, Synth, and TimeStretch.

Collaboration diagram for PluginAClient:

Collaboration graph
[legend]

Public Member Functions

 PluginAClient (PluginServer *server)
virtual ~PluginAClient ()
int get_render_ptrs ()
int init_realtime_parameters ()
int is_audio ()
virtual int process_realtime (int64_t size, double **input_ptr, double **output_ptr)
virtual int process_realtime (int64_t size, double *input_ptr, double *output_ptr)
virtual int process_buffer (int64_t size, double **buffer, int64_t start_position, int sample_rate)
virtual int process_buffer (int64_t size, double *buffer, int64_t start_position, int sample_rate)
virtual int process_loop (double *buffer, int64_t &write_length)
virtual int process_loop (double **buffers, int64_t &write_length)
int plugin_process_loop (double **buffers, int64_t &write_length)
int plugin_start_loop (int64_t start, int64_t end, int64_t buffer_size, int total_buffers)
int plugin_get_parameters ()
int read_samples (double *buffer, int channel, int64_t start_position, int64_t len)
int read_samples (double *buffer, int64_t start_position, int64_t len)
int read_samples (double *buffer, int channel, int sample_rate, int64_t start_position, int64_t len)
int get_project_samplerate ()
int get_samplerate ()
int64_t local_to_edl (int64_t position)
int64_t edl_to_local (int64_t position)
void send_render_gui (void *data, int size)
void plugin_render_gui (void *data, int size)
virtual void render_gui (void *data, int size)

Data Fields

ArrayList< float ** > input_ptr_master
ArrayList< float ** > output_ptr_master
float ** input_ptr_render
float ** output_ptr_render
int project_sample_rate
int sample_rate

Detailed Description

Definition at line 9 of file pluginaclient.h.


Constructor & Destructor Documentation

PluginAClient::PluginAClient ( PluginServer server  ) 

PluginAClient::~PluginAClient (  )  [virtual]

Definition at line 27 of file pluginaclient.C.


Member Function Documentation

int PluginAClient::get_render_ptrs (  ) 

int PluginAClient::init_realtime_parameters (  )  [virtual]

int PluginAClient::is_audio (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 31 of file pluginaclient.C.

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

Reimplemented in PluginAClientLAD, FreeverbEffect, and Reverb.

Definition at line 65 of file pluginaclient.C.

Referenced by process_buffer(), and PluginServer::process_transition().

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

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

Reimplemented in CompressorEffect, LiveAudio, and OverlayAudio.

Definition at line 79 of file pluginaclient.C.

References process_realtime(), read_samples(), PluginClient::source_position, and PluginClient::total_in_buffers.

Referenced by PluginServer::process_buffer().

Here is the call graph for this function:

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

Reimplemented in DenoiseFFTEffect, InterpolateAudioEffect, LoopAudio, ParametricEQ, PitchEffect, ReverseAudio, Spectrogram, and TimeStretch.

Definition at line 94 of file pluginaclient.C.

References process_realtime(), read_samples(), and PluginClient::source_position.

Here is the call graph for this function:

virtual int PluginAClient::process_loop ( double *  buffer,
int64_t &  write_length 
) [inline, virtual]

Reimplemented in ResampleEffect.

Definition at line 44 of file pluginaclient.h.

virtual int PluginAClient::process_loop ( double **  buffers,
int64_t &  write_length 
) [inline, virtual]

Reimplemented in CDRipMain, and NormalizeMain.

Definition at line 45 of file pluginaclient.h.

int PluginAClient::plugin_process_loop ( double **  buffers,
int64_t &  write_length 
) [virtual]

Reimplemented from PluginClient.

Definition at line 148 of file pluginaclient.C.

References PluginClient::is_multichannel(), and PluginClient::process_loop().

Here is the call graph for this function:

int PluginAClient::plugin_start_loop ( int64_t  start,
int64_t  end,
int64_t  buffer_size,
int  total_buffers 
) [virtual]

Reimplemented from PluginClient.

Definition at line 111 of file pluginaclient.C.

References get_project_samplerate(), PluginClient::plugin_start_loop(), and sample_rate.

Here is the call graph for this function:

int PluginAClient::plugin_get_parameters (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 123 of file pluginaclient.C.

References get_project_samplerate(), PluginClient::plugin_get_parameters(), and sample_rate.

Here is the call graph for this function:

int PluginAClient::read_samples ( double *  buffer,
int  channel,
int64_t  start_position,
int64_t  len 
)

int PluginAClient::read_samples ( double *  buffer,
int64_t  start_position,
int64_t  len 
)

Definition at line 169 of file pluginaclient.C.

References PluginServer::read_samples(), and PluginClient::server.

Here is the call graph for this function:

int PluginAClient::read_samples ( double *  buffer,
int  channel,
int  sample_rate,
int64_t  start_position,
int64_t  len 
)

Definition at line 179 of file pluginaclient.C.

References PluginServer::read_samples(), and PluginClient::server.

Here is the call graph for this function:

int PluginAClient::get_project_samplerate (  ) 

int PluginAClient::get_samplerate (  )  [virtual]

int64_t PluginAClient::local_to_edl ( int64_t  position  )  [virtual]

Reimplemented from PluginClient.

Definition at line 130 of file pluginaclient.C.

References get_project_samplerate(), and sample_rate.

Referenced by PitchEngine::read_samples().

Here is the call graph for this function:

int64_t PluginAClient::edl_to_local ( int64_t  position  )  [virtual]

Reimplemented from PluginClient.

Definition at line 139 of file pluginaclient.C.

References get_project_samplerate(), and sample_rate.

Referenced by LoopAudio::process_buffer().

Here is the call graph for this function:

void PluginAClient::send_render_gui ( void *  data,
int  size 
)

Definition at line 193 of file pluginaclient.C.

References PluginServer::send_render_gui(), and PluginClient::server.

Referenced by Spectrogram::process_buffer(), and SoundLevelEffect::process_realtime().

Here is the call graph for this function:

void PluginAClient::plugin_render_gui ( void *  data,
int  size 
) [virtual]

Reimplemented from PluginClient.

Definition at line 198 of file pluginaclient.C.

References render_gui().

Here is the call graph for this function:

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

Reimplemented in SoundLevelEffect, and Spectrogram.

Definition at line 88 of file pluginaclient.h.

Referenced by plugin_render_gui().


Field Documentation

Definition at line 88 of file pluginaclient.h.

Referenced by get_render_ptrs().

Definition at line 92 of file pluginaclient.h.

Referenced by get_render_ptrs().

Definition at line 94 of file pluginaclient.h.

Referenced by get_render_ptrs().

Definition at line 95 of file pluginaclient.h.

Referenced by get_render_ptrs().


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

Generated on Mon Apr 28 14:36:01 2008 for Cinelerra by  doxygen 1.5.5