// Convert position to frames if cursor alignment is enabled
double align_to_frame(double position, int round);
+// increase track w/h to at least session w/h
+ void retrack();
// Scale all sample values since everything is locked to audio
void rechannel();
void resample(double old_rate, double new_rate, int data_type);
// This is used by BRender + BatchRender.
double equivalent_output(EDL *edl);
// Set project path for filename prefixes in the assets
- void set_path(char *path);
+ void set_path(const char *path);
// Set points and labels
void set_inpoint(double position);
void set_outpoint(double position);
// Add assets from the src to the destination
void update_assets(EDL *src);
void optimize();
+// return next/prev edit starting from position
+ double next_edit(double position);
+ double prev_edit(double position);
// Debug
int dump(FILE *fp=stdout);
static int next_id();