comparison include/edl.h @ 0:0ea1ec2da443

*: initial commit
author Paper <mrpapersonic@gmail.com>
date Tue, 04 Jul 2023 22:44:41 -0400
parents
children d00bc412900e
comparison
equal deleted inserted replaced
-1:000000000000 0:0ea1ec2da443
1 #include <stdbool.h>
2
3 typedef enum {
4 video,
5 audio
6 } MediaType;
7
8 typedef struct {
9 int id;
10 int track;
11 double start_time;
12 double length;
13 double play_rate;
14 bool locked;
15 bool normalized;
16 int stretch_method;
17 bool looped;
18 bool on_ruler;
19 MediaType media_type;
20 char* file_name;
21 int stream;
22 double stream_start;
23 double stream_length;
24 double fade_time_in;
25 double fade_time_out;
26 double sustain_gain;
27 int curve_in;
28 double gain_in;
29 int curve_out;
30 double gain_out;
31 int layer;
32 int color;
33 int curve_in_r;
34 int curve_out_r;
35 double play_pitch;
36 bool lock_pitch;
37 int first_channel;
38 int channels;
39 } EDL_line;
40
41 typedef struct {
42 EDL_line* edl;
43 int size;
44 int current;
45 } EDL_file;