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

AModule Class Reference

#include <amodule.h>

Inheritance diagram for AModule:

Module List of all members.

Public Member Functions

 AModule (RenderEngine *renderengine, CommonRender *commonrender, PluginArray *plugin_array, Track *track)
virtual ~AModule ()
void create_objects ()
CICacheget_cache ()
int render (double *buffer, int64_t input_position, int input_len, int direction, int sample_rate, int use_nudge)
void reverse_buffer (double *buffer, int64_t len)
int get_buffer_size ()
AttachmentPointnew_attachment (Plugin *plugin)
FloatAutosget_pan_automation (int channel)
FloatAutosget_fade_automation ()

Public Attributes

double * level_history
int64_t * level_samples
int current_level
double * transition_temp
int transition_temp_alloc

Detailed Description

Definition at line 24 of file amodule.h.


Constructor & Destructor Documentation

AModule::AModule RenderEngine renderengine,
CommonRender commonrender,
PluginArray plugin_array,
Track track
 

Definition at line 32 of file amodule.C.

References current_level, Module::data_type, level_history, TRACK_AUDIO, transition_temp, and transition_temp_alloc.

AModule::~AModule  )  [virtual]
 

Definition at line 48 of file amodule.C.

References level_history, level_samples, and transition_temp.


Member Function Documentation

void AModule::create_objects  )  [virtual]
 

Reimplemented from Module.

Definition at line 64 of file amodule.C.

References Module::commonrender, Module::create_objects(), current_level, level_history, and level_samples.

int AModule::get_buffer_size  )  [virtual]
 

Reimplemented from Module.

Definition at line 82 of file amodule.C.

References RenderEngine::fragment_len, PluginArray::get_bufsize(), Module::plugin_array, and Module::renderengine.

CICache * AModule::get_cache  ) 
 

Definition at line 104 of file amodule.C.

References Module::cache, RenderEngine::get_acache(), and Module::renderengine.

Referenced by render().

FloatAutos* AModule::get_fade_automation  ) 
 

FloatAutos* AModule::get_pan_automation int  channel  ) 
 

AttachmentPoint * AModule::new_attachment Plugin plugin  )  [virtual]
 

Reimplemented from Module.

Definition at line 58 of file amodule.C.

References Module::renderengine.

int AModule::render double *  buffer,
int64_t  input_position,
int  input_len,
int  direction,
int  sample_rate,
int  use_nudge
 

Definition at line 112 of file amodule.C.

References _, CICache::age(), CICache::check_in(), CICache::check_out(), Track::edits, get_cache(), Module::get_edl(), Edit::length, Track::nudge, PluginServer::process_transition(), File::read_samples(), reverse_buffer(), EDLSession::sample_rate, EDL::session, File::set_audio_position(), File::set_channel(), Module::track, Module::transition, Module::transition_server, transition_temp, transition_temp_alloc, and Module::update_transition().

void AModule::reverse_buffer double *  buffer,
int64_t  len
 

Definition at line 90 of file amodule.C.

Referenced by render().


Member Data Documentation

int AModule::current_level
 

Definition at line 56 of file amodule.h.

Referenced by AModule(), and create_objects().

double* AModule::level_history
 

Definition at line 54 of file amodule.h.

Referenced by AModule(), create_objects(), and ~AModule().

int64_t* AModule::level_samples
 

Definition at line 55 of file amodule.h.

Referenced by create_objects(), and ~AModule().

double* AModule::transition_temp
 

Definition at line 59 of file amodule.h.

Referenced by AModule(), render(), and ~AModule().

int AModule::transition_temp_alloc
 

Definition at line 60 of file amodule.h.

Referenced by AModule(), and render().


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