add formatting trailer for emacs
[cinelerra_cv/ct.git] / cinelerra / aautomation.C
blobd25c3dbbc2874676b7888cf8be4a28ed7746ae54
1 #include "aautomation.h"
2 #include "atrack.inc"
3 #include "colors.h"
4 #include "edl.h"
5 #include "edlsession.h"
6 #include "floatauto.h"
7 #include "floatautos.h"
8 #include "panautos.h"
10 AAutomation::AAutomation(EDL *edl, Track *track)
11  : Automation(edl, track)
17 AAutomation::~AAutomation()
21 int AAutomation::create_objects()
23         Automation::create_objects();
25         autos[AUTOMATION_FADE] = new FloatAutos(edl, track, 0.0);
26         autos[AUTOMATION_FADE]->create_objects();
27         autos[AUTOMATION_FADE]->autoidx = AUTOMATION_FADE;
28         autos[AUTOMATION_FADE]->autogrouptype = AUTOGROUPTYPE_AUDIO_FADE;
32         autos[AUTOMATION_PAN] = new PanAutos(edl, track);
33         autos[AUTOMATION_PAN]->create_objects();
34         autos[AUTOMATION_PAN]->autoidx = AUTOMATION_PAN;
35         autos[AUTOMATION_PAN]->autogrouptype = -1;
37         return 0;
40 //      Local Variables:
41 //      mode: C++
42 //      c-file-style: "linux"
43 //      End: