r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / amodule.h
blob6feb49226e1eab2ecb32022c7f1b12656c763cbe
1 #ifndef AMODULE_H
2 #define AMODULE_H
4 class AModuleGUI;
5 class AModuleTitle;
6 class AModulePan;
7 class AModuleFade;
8 class AModuleInv;
9 class AModuleMute;
10 class AModuleReset;
12 #include "amodule.inc"
13 #include "aplugin.inc"
14 #include "datatype.h"
15 #include "edl.inc"
16 #include "filexml.inc"
17 #include "floatautos.inc"
18 #include "maxchannels.h"
19 #include "module.h"
20 #include "sharedlocation.inc"
21 #include "track.inc"
22 #include "units.h"
24 class AModule : public Module
26 public:
27 AModule(RenderEngine *renderengine,
28 CommonRender *commonrender,
29 PluginArray *plugin_array,
30 Track *track);
31 virtual ~AModule();
33 void create_objects();
34 CICache* get_cache();
35 int render(double *buffer,
36 int64_t input_len,
37 int64_t input_position,
38 int direction);
39 void reverse_buffer(double *buffer, int64_t len);
40 int get_buffer_size();
42 AttachmentPoint* new_attachment(Plugin *plugin);
47 // synchronization with tracks
48 FloatAutos* get_pan_automation(int channel); // get pan automation
49 FloatAutos* get_fade_automation(); // get the fade automation for this module
52 double *level_history;
53 int64_t *level_samples;
54 int current_level;
56 // Temporary buffer for rendering transitions
57 double *transition_temp;
61 #endif