// Convert position to frames if cursor alignment is enabled
double align_to_frame(double position, int round);
// Convert position to frames if cursor alignment is enabled
double align_to_frame(double position, int round);
// Scale all sample values since everything is locked to audio
void rechannel();
void resample(double old_rate, double new_rate, int data_type);
// 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
// This is used by BRender + BatchRender.
double equivalent_output(EDL *edl);
// Set project path for filename prefixes in the assets
// Insert the asset at a point in the EDL
void insert_asset(Asset *asset,
EDL *nested_edl,
// Insert the asset at a point in the EDL
void insert_asset(Asset *asset,
EDL *nested_edl,