feat: export sample ranges and adopt new source copies with rollback and project undo
This commit is contained in:
parent
3d031a0010
commit
342a93385c
10 changed files with 62 additions and 4 deletions
|
|
@ -15,6 +15,9 @@ void xtc_sample_destroy(xtc_sample *sample);
|
|||
xtc_result xtc_sample_info(const xtc_sample *sample,unsigned int *rate,size_t *frames);
|
||||
xtc_result xtc_sample_read(const xtc_sample *sample,size_t frame,float *out);
|
||||
xtc_result xtc_sample_analyze(const xtc_sample *sample,size_t begin,size_t end,xtc_sample_stats *out);
|
||||
/* Control-thread bounded mono float32 WAV save. Absolute path <512 bytes,
|
||||
* NEW destination only. Failure/cancel publishes nothing and removes temporary. */
|
||||
xtc_result xtc_sample_write(const xtc_sample *sample,size_t begin,size_t end,const char *path);
|
||||
/* Select native source frame bounds inside the clip's current audible trim.
|
||||
* Start rounds up to a tick; end rounds down. Sub-tick empty ranges reject.
|
||||
* Timeline placement follows the removed leading source, preserving alignment.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue