public:
EDL *edl, *new_edl;
Indexable *idxbl;
+ Edit *edit;
MainUndo *undo;
int64_t mtime;
+ double duration;
};
class Stack : public ArrayList<StackItem>
// Total horizontal pixels in timeline
int get_tracks_width();
// session stack
- void stack_push(EDL *edl, Indexable *idxbl);
+ void stack_push(EDL *edl, Indexable *idxbl, Edit *edit=0);
void stack_pop();
int save(EDL *edl, char *filename, int stat);
int save(int save_as);
int edit_plugins,
int edit_autos,
int overwrite);
+ void collect_effects();
+ void paste_effects();
+
// Reset everything for a load
void update_project(int load_mode);
void update_preferences(Preferences *prefs);
int zoom_sample(int64_t zoom_sample);
void zoom_autos(float min, float max);
void zoom_amp(int64_t zoom_amp);
- void zoom_track(int64_t zoom_track);
+ void zoom_atrack(int64_t zoom);
+ void zoom_vtrack(int64_t zoom);
int fit_sample();
int move_left(int64_t distance = 0);
int move_right(int64_t distance = 0);
void dump_edl(FILE *fp=stdout);
void dump_undo(FILE *fp=stdout);
void dump_exe(FILE *fp=stdout);
+ void dump_caches(FILE *fp=stdout);
static void trap_hook(FILE *fp, void *vp);
void reset_android_remote();
void speed_before();
int speed_after(int done);
int normalize_speed(EDL *old_edl, EDL *new_edl);
+ int get_cpus(int out_w, int out_h);
int get_cpus();
//
void clean_indexes();