VirtualANode Class Reference

#include <virtualanode.h>

Inherits VirtualNode.

Collaboration diagram for VirtualANode:

Collaboration graph
[legend]

Public Member Functions

 VirtualANode (RenderEngine *renderengine, VirtualConsole *vconsole, Module *real_module, Plugin *real_plugin, Track *track, VirtualNode *parent_module)
 ~VirtualANode ()
VirtualNodecreate_module (Plugin *real_plugin, Module *real_module, Track *track)
VirtualNodecreate_plugin (Plugin *real_plugin)
int render (double *output_temp, int64_t start_position, int64_t len, int64_t sample_rate)
int read_data (double *output_temp, int64_t start_position, int64_t len, int64_t sample_rate)

Private Member Functions

int render_as_module (double **audio_out, double *output_temp, int64_t start_position, int64_t len, int64_t sample_rate)
void render_as_plugin (double *output_temp, int64_t start_position, int64_t len, int64_t sample_rate)
int render_fade (double *buffer, int64_t len, int64_t input_position, int64_t sample_rate, Autos *autos, int direction, int use_nudge)
int render_pan (double *input, double *output, int64_t fragment_len, int64_t input_position, int64_t sample_rate, Autos *autos, int channel, int direction, int use_nudge)
void get_pan_automation (double &slope, double &intercept, int64_t input_position, int64_t &slope_len, Autos *autos, int channel, int direction)

Private Attributes

DB db
Autopan_before [MAXCHANNELS]
Autopan_after [MAXCHANNELS]

Detailed Description

Definition at line 12 of file virtualanode.h.


Constructor & Destructor Documentation

VirtualANode::VirtualANode ( RenderEngine renderengine,
VirtualConsole vconsole,
Module real_module,
Plugin real_plugin,
Track track,
VirtualNode parent_module 
)

Definition at line 26 of file virtualanode.C.

References MAXCHANNELS, pan_after, and pan_before.

Referenced by create_module(), and create_plugin().

VirtualANode::~VirtualANode (  ) 

Definition at line 45 of file virtualanode.C.


Member Function Documentation

VirtualNode * VirtualANode::create_module ( Plugin real_plugin,
Module real_module,
Track track 
) [virtual]

Reimplemented from VirtualNode.

Definition at line 53 of file virtualanode.C.

References VirtualNode::renderengine, VirtualNode::vconsole, and VirtualANode().

Here is the call graph for this function:

VirtualNode * VirtualANode::create_plugin ( Plugin real_plugin  )  [virtual]

Reimplemented from VirtualNode.

Definition at line 66 of file virtualanode.C.

References VirtualNode::renderengine, VirtualNode::track, VirtualNode::vconsole, and VirtualANode().

Here is the call graph for this function:

int VirtualANode::render ( double *  output_temp,
int64_t  start_position,
int64_t  len,
int64_t  sample_rate 
)

int VirtualANode::read_data ( double *  output_temp,
int64_t  start_position,
int64_t  len,
int64_t  sample_rate 
)

int VirtualANode::render_as_module ( double **  audio_out,
double *  output_temp,
int64_t  start_position,
int64_t  len,
int64_t  sample_rate 
) [private]

void VirtualANode::render_as_plugin ( double *  output_temp,
int64_t  start_position,
int64_t  len,
int64_t  sample_rate 
) [private]

int VirtualANode::render_fade ( double *  buffer,
int64_t  len,
int64_t  input_position,
int64_t  sample_rate,
Autos autos,
int  direction,
int  use_nudge 
) [private]

int VirtualANode::render_pan ( double *  input,
double *  output,
int64_t  fragment_len,
int64_t  input_position,
int64_t  sample_rate,
Autos autos,
int  channel,
int  direction,
int  use_nudge 
) [private]

void VirtualANode::get_pan_automation ( double &  slope,
double &  intercept,
int64_t  input_position,
int64_t &  slope_len,
Autos autos,
int  channel,
int  direction 
) [private]

Definition at line 478 of file virtualanode.C.

References Autos::get_next_auto(), Autos::get_prev_auto(), and Auto::position.

Referenced by render_pan().

Here is the call graph for this function:


Field Documentation

DB VirtualANode::db [private]

Definition at line 84 of file virtualanode.h.

Auto* VirtualANode::pan_before[MAXCHANNELS] [private]

Definition at line 86 of file virtualanode.h.

Referenced by VirtualANode().

Auto * VirtualANode::pan_after[MAXCHANNELS] [private]

Definition at line 86 of file virtualanode.h.

Referenced by VirtualANode().


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

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