feat: align clip selections and slip sources without moving boundaries
This commit is contained in:
parent
ea9789b188
commit
b0dbf6905f
7 changed files with 44 additions and 7 deletions
|
|
@ -9,8 +9,10 @@ extern "C" {
|
|||
* ID counters and optional count-element output. No media loading or DSP work.
|
||||
* MOVE/DUPLICATE amount is a signed tick displacement, bounded by MAX_TICK.
|
||||
* DUPLICATE retains tracks, source ranges, notes and media with fresh IDs.
|
||||
* ALIGN amount is an absolute timeline start; SLIP amount is a signed source
|
||||
* offset change (audio or MIDI), retaining timeline start/length.
|
||||
* out_ids receives resulting IDs (removed IDs for DELETE). May be NULL. */
|
||||
typedef enum { XTC_CLIPS_MOVE, XTC_CLIPS_DUPLICATE, XTC_CLIPS_DELETE } xtc_clip_operation;
|
||||
typedef enum { XTC_CLIPS_MOVE, XTC_CLIPS_DUPLICATE, XTC_CLIPS_DELETE, XTC_CLIPS_ALIGN, XTC_CLIPS_SLIP } xtc_clip_operation;
|
||||
xtc_result xtc_project_transform_clips(xtc_project *project,const uint64_t *ids,size_t count,
|
||||
xtc_clip_operation operation,int64_t amount,uint64_t *out_ids);
|
||||
/* Repeat the bounding phrase span, including gaps, 1..1024 additional copies.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue