6 #include "edlsession.h"
12 #include "mainsession.h"
13 #include "trackcanvas.h"
17 AEdit::AEdit(EDL *edl, Edits *edits)
26 int AEdit::load_properties_derived(FileXML *xml)
28 channel = xml->tag.get_property("CHANNEL", (int32_t)0);
32 // ========================================== editing
34 int AEdit::copy_properties_derived(FileXML *xml, int64_t length_in_selection)
40 int AEdit::dump_derived()
42 //printf(" channel %d\n", channel);
46 int64_t AEdit::get_source_end(int64_t default_)
48 if(!asset) return default_; // Infinity
50 return (int64_t)((double)asset->audio_length / asset->sample_rate * edl->session->sample_rate + 0.5);