feat: plan composition phases and persist named arrangement markers
This commit is contained in:
parent
1b668068de
commit
64e5ab170f
19 changed files with 323 additions and 9 deletions
|
|
@ -529,6 +529,9 @@ xtc_result xtc_project_validate(const xtc_project *project)
|
|||
if (project->tempo < 20000U || project->tempo > 300000U || project->track_count > XTC_PROJECT_MAX_TRACKS ||
|
||||
project->clip_count > XTC_PROJECT_MAX_CLIPS || project->note_count > XTC_PROJECT_MAX_NOTES)
|
||||
return XTC_ERR_FORMAT;
|
||||
if(project->marker_count>XTC_PROJECT_MAX_MARKERS)return XTC_ERR_FORMAT;
|
||||
for(i=0;i<project->marker_count;++i)if(project->markers[i].tick>XTC_PROJECT_MAX_TICK ||
|
||||
!xtc_project_valid_name(project->markers[i].name) || (i && project->markers[i-1].tick>=project->markers[i].tick))return XTC_ERR_FORMAT;
|
||||
for (i = 0; i < 16; ++i) for (j = 0; j < 3; ++j) {
|
||||
unsigned int cc = project->control_map[i][j];
|
||||
size_t k;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue