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
,
37 int64_t input_position
,
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
;
56 // Temporary buffer for rendering transitions
57 double *transition_temp
;