Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / apluginarray.h
blob524d68a316ecb46ddb1aa955db37874923de7381
1 #ifndef APLUGINARRAY_H
2 #define APLUGINARRAY_H
4 #include "amodule.inc"
5 #include "edl.inc"
6 #include "pluginarray.h"
7 #include "pluginserver.inc"
8 #include "recordableatracks.inc"
9 #include "track.inc"
11 class APluginArray : public PluginArray
13 public:
14 APluginArray();
15 ~APluginArray();
17 int64_t get_bufsize();
18 void create_buffers();
19 void create_modules();
20 void get_buffers();
21 // void load_module(int module, int64_t input_position, int64_t len);
22 void process_realtime(int module, int64_t input_position, int64_t len);
23 int process_loop(int module, int64_t &write_length);
24 int write_buffers(int64_t len);
25 int total_tracks();
26 void get_recordable_tracks();
27 Track* track_number(int number);
29 RecordableATracks *tracks;
30 // Pointers to plugin buffers for plugin output
31 double **buffer; // Buffer for processing
32 // Pointer to file output
33 double **output_buffer;
34 double **realtime_buffers;
37 #endif
39 // Local Variables:
40 // mode: C++
41 // c-file-style: "linux"
42 // End: