Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / edits.h
index efd7f88e7f6c9729d66516ad4d94f08e470977d9..f851e605c98ceda8c7def1470fd8f9768e32da41 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2008-2013 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -43,6 +44,7 @@ public:
 
        void equivalent_output(Edits *edits, int64_t *result);
        virtual void copy_from(Edits *edits);
+       virtual Edits& operator=(Edits& edits);
 // Insert edits from different EDL
        void insert_edits(Edits *edits,
                int64_t position,
@@ -83,6 +85,8 @@ public:
        void paste_silence(int64_t start, int64_t end);
 // Returns the newly created edit
        Edit *create_silence(int64_t start, int64_t end);
+       double early_timecode();
+       void align_timecodes(double offset);
 
        void resample(double old_rate, double new_rate);
 // Shift edits on or after position by distance
@@ -106,6 +110,7 @@ public:
 // ==================================== accounting
 
        Edit* editof(int64_t position, int direction, int use_nudge);
+       Edit* get_edit(int id);
 // Return an edit if position is over an edit and the edit has a source file
        Edit* get_playable_edit(int64_t position, int use_nudge);
 //     int64_t total_length();
@@ -118,6 +123,7 @@ public:
        int modify_handles(double oldposition, double newposition,
                int currentend, int edit_mode, int edit_edits, int edit_labels,
                int edit_plugins, int edit_autos, Edits *trim_edits, int group_id);
+       void update_idxbl_length(int id, int64_t du);
 
        virtual int optimize();