diff include/edl.h @ 0:0ea1ec2da443

*: initial commit
author Paper <mrpapersonic@gmail.com>
date Tue, 04 Jul 2023 22:44:41 -0400
parents
children d00bc412900e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/edl.h	Tue Jul 04 22:44:41 2023 -0400
@@ -0,0 +1,45 @@
+#include <stdbool.h>
+
+typedef enum {
+	video,
+	audio
+} MediaType;
+
+typedef struct {
+	int id;
+	int track;
+	double start_time;
+	double length;
+	double play_rate;
+	bool locked;
+	bool normalized;
+	int stretch_method;
+	bool looped;
+	bool on_ruler;
+	MediaType media_type;
+	char* file_name;
+	int stream;
+	double stream_start;
+	double stream_length;
+	double fade_time_in;
+	double fade_time_out;
+	double sustain_gain;
+	int curve_in;
+	double gain_in;
+	int curve_out;
+	double gain_out;
+	int layer;
+	int color;
+	int curve_in_r;
+	int curve_out_r;
+	double play_pitch;
+	bool lock_pitch;
+	int first_channel;
+	int channels;
+} EDL_line;
+
+typedef struct {
+	EDL_line* edl;
+	int size;
+	int current;
+} EDL_file;
\ No newline at end of file