#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.

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 |
Definition at line 9 of file pluginaclient.h.
| PluginAClient::PluginAClient | ( | PluginServer * | server | ) |
Definition at line 9 of file pluginaclient.C.
References PluginServer::edl, project_sample_rate, EDLSession::sample_rate, sample_rate, and EDL::session.
| PluginAClient::~PluginAClient | ( | ) | [virtual] |
Definition at line 27 of file pluginaclient.C.
| int PluginAClient::get_render_ptrs | ( | ) |
Definition at line 37 of file pluginaclient.C.
References PluginClient::double_buffer_in_render, PluginClient::double_buffer_out_render, input_ptr_master, input_ptr_render, PluginClient::offset_in_render, PluginClient::offset_out_render, output_ptr_master, output_ptr_render, PluginClient::total_in_buffers, PluginClient::total_out_buffers, and ArrayList< TYPE >::values.
| int PluginAClient::init_realtime_parameters | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 59 of file pluginaclient.C.
References PluginServer::edl, project_sample_rate, EDLSession::sample_rate, PluginClient::server, and EDL::session.
| int PluginAClient::is_audio | ( | ) | [virtual] |
| 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] |
Reimplemented in PluginAClientLAD, CrossfadeMain, DelayAudio, DenoiseEffect, Despike, Gain, InvertAudioEffect, SoundLevelEffect, and Synth.
Definition at line 72 of file pluginaclient.C.
| 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().

| 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.

| virtual int PluginAClient::process_loop | ( | double * | buffer, | |
| int64_t & | write_length | |||
| ) | [inline, virtual] |
| virtual int PluginAClient::process_loop | ( | double ** | buffers, | |
| int64_t & | write_length | |||
| ) | [inline, virtual] |
| 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().

| 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.

| 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.

| int PluginAClient::read_samples | ( | double * | buffer, | |
| int | channel, | |||
| int64_t | start_position, | |||
| int64_t | len | |||
| ) |
Definition at line 158 of file pluginaclient.C.
References PluginServer::read_samples(), and PluginClient::server.
Referenced by ReverseAudio::process_buffer(), OverlayAudio::process_buffer(), LoopAudio::process_buffer(), InterpolateAudioEffect::process_buffer(), CompressorEffect::process_buffer(), process_buffer(), NormalizeMain::process_loop(), InterpolateAllEffect::process_loop(), ResampleEffect::process_loop(), PitchEngine::read_samples(), SpectrogramFFT::read_samples(), PitchFFT::read_samples(), ParametricFFT::read_samples(), DenoiseFFTCollect::read_samples(), and DenoiseFFTRemove::read_samples().

| 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.

| 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.

| int PluginAClient::get_project_samplerate | ( | ) |
Reimplemented from PluginClient.
Definition at line 203 of file pluginaclient.C.
References project_sample_rate.
Referenced by edl_to_local(), local_to_edl(), plugin_get_parameters(), plugin_start_loop(), LiveAudio::process_buffer(), and Spectrogram::render_gui().
| int PluginAClient::get_samplerate | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 208 of file pluginaclient.C.
References sample_rate.
Referenced by PitchEngine::read_samples(), SpectrogramFFT::read_samples(), PitchFFT::read_samples(), ParametricFFT::read_samples(), DenoiseFFTCollect::read_samples(), and DenoiseFFTRemove::read_samples().
| 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().

| 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().

| 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().

| void PluginAClient::plugin_render_gui | ( | void * | data, | |
| int | size | |||
| ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 198 of file pluginaclient.C.
References render_gui().

| 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().
| ArrayList<float**> PluginAClient::input_ptr_master |
| float** PluginAClient::input_ptr_render |
| float** PluginAClient::output_ptr_render |
Definition at line 97 of file pluginaclient.h.
Referenced by ParametricEQ::calculate_envelope(), get_project_samplerate(), PluginAClientLAD::init_plugin(), init_realtime_parameters(), PluginAClient(), PluginServer::process_buffer(), ReverbEngine::process_overlay(), Reverb::process_realtime(), SoundLevelEffect::process_realtime(), Synth::reconfigure(), DelayAudio::reconfigure(), and ReverbEngine::run().
Definition at line 102 of file pluginaclient.h.
Referenced by edl_to_local(), CDRipMain::get_parameters(), get_samplerate(), local_to_edl(), plugin_get_parameters(), plugin_start_loop(), PluginAClient(), and PluginServer::process_buffer().
1.5.5