5 #include "autoconf.inc"
6 #include "automation.inc"
10 #include "maxchannels.h"
19 Automation(EDL
*edl
, Track
*track
);
20 virtual ~Automation();
22 virtual int create_objects();
23 void equivalent_output(Automation
*automation
, int64_t *result
);
24 virtual Automation
& operator=(Automation
& automation
);
25 virtual void copy_from(Automation
*automation
);
26 int load(FileXML
*file
);
27 // For copy automation, copy, and save
28 int copy(int64_t start
,
34 virtual int direct_copy_possible(int64_t start
, int direction
);
35 virtual int direct_copy_possible_derived(int64_t start
, int direction
) { return 1; };
36 // For paste automation only
37 int paste(int64_t start
,
44 // Get projector coordinates if this is video automation
45 virtual void get_projector(float *x
,
50 // Get camera coordinates if this is video automation
51 virtual void get_camera(float *x
,
57 // Returns the point to restart background rendering at.
58 // -1 means nothing changed.
59 void clear(int64_t start
,
63 void paste_silence(int64_t start
, int64_t end
);
64 void insert_track(Automation
*automation
,
68 void resample(double old_rate
, double new_rate
);
70 virtual void get_extents(float *min
,
72 int *coords_undefined
,
80 Autos
*autos
[AUTOMATION_TOTAL
];