Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / edits.h
index c0f2cdf0bbfd753c4167f7d9c2a6b70cd84eefe4..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
@@ -84,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
@@ -107,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();
@@ -116,15 +120,11 @@ public:
 
 // ==================================== editing
 
-       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 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();
 
        virtual int clone_derived(Edit* new_edit, Edit* old_edit) { return 0; }