4 // Automation point that takes floating point values
10 #include "floatautos.inc"
12 class FloatAuto
: public Auto
16 FloatAuto(EDL
*edl
, FloatAutos
*autos
);
19 int operator==(Auto
&that
);
20 int operator==(FloatAuto
&that
);
21 int identical(FloatAuto
*src
);
22 void copy_from(Auto
*that
);
23 void copy_from(FloatAuto
*that
);
24 void copy(int64_t start
, int64_t end
, FileXML
*file
, int default_only
);
25 void load(FileXML
*xml
);
26 float value_to_percentage();
27 float invalue_to_percentage();
28 float outvalue_to_percentage();
29 float percentage_to_value(float percentage
);
30 float percentage_to_invalue(float percentage
);
31 float percentage_to_outvalue(float percentage
);
33 // Control values relative to value
34 float value
, control_in_value
, control_out_value
;
35 // Control positions relative to value position
36 int64_t control_in_position
, control_out_position
;
39 int value_to_str(char *string
, float value
);