12 #include "amodule.inc"
13 #include "aplugin.inc"
16 #include "filexml.inc"
17 #include "floatautos.inc"
18 #include "maxchannels.h"
20 #include "sharedlocation.inc"
24 class AModule
: public Module
27 AModule(RenderEngine
*renderengine
,
28 CommonRender
*commonrender
,
29 PluginArray
*plugin_array
,
33 void create_objects();
35 int render(double *buffer
,
36 int64_t input_position
,
41 void reverse_buffer(double *buffer
, int64_t len
);
42 int get_buffer_size();
44 AttachmentPoint
* new_attachment(Plugin
*plugin
);
49 // synchronization with tracks
50 FloatAutos
* get_pan_automation(int channel
); // get pan automation
51 FloatAutos
* get_fade_automation(); // get the fade automation for this module
54 double *level_history
;
55 int64_t *level_samples
;
58 // Temporary buffer for rendering transitions
59 double *transition_temp
;
60 int transition_temp_alloc
;