Lines Matching refs:track_num
1475 …ct_cuesheet_track_resize_indices(FLAC__StreamMetadata *object, uint32_t track_num, uint32_t new_nu… in FLAC__metadata_object_cuesheet_track_resize_indices() argument
1480 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_track_resize_indices()
1482 track = &object->data.cue_sheet.tracks[track_num]; in FLAC__metadata_object_cuesheet_track_resize_indices()
1519 …ject_cuesheet_track_insert_index(FLAC__StreamMetadata *object, uint32_t track_num, uint32_t index_… in FLAC__metadata_object_cuesheet_track_insert_index() argument
1525 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_track_insert_index()
1526 FLAC__ASSERT(index_num <= object->data.cue_sheet.tracks[track_num].num_indices); in FLAC__metadata_object_cuesheet_track_insert_index()
1528 track = &object->data.cue_sheet.tracks[track_num]; in FLAC__metadata_object_cuesheet_track_insert_index()
1530 if (!FLAC__metadata_object_cuesheet_track_resize_indices(object, track_num, track->num_indices+1)) in FLAC__metadata_object_cuesheet_track_insert_index()
1541 …uesheet_track_insert_blank_index(FLAC__StreamMetadata *object, uint32_t track_num, uint32_t index_… in FLAC__metadata_object_cuesheet_track_insert_blank_index() argument
1545 return FLAC__metadata_object_cuesheet_track_insert_index(object, track_num, index_num, indx); in FLAC__metadata_object_cuesheet_track_insert_blank_index()
1548 …ject_cuesheet_track_delete_index(FLAC__StreamMetadata *object, uint32_t track_num, uint32_t index_… in FLAC__metadata_object_cuesheet_track_delete_index() argument
1554 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_track_delete_index()
1555 FLAC__ASSERT(index_num < object->data.cue_sheet.tracks[track_num].num_indices); in FLAC__metadata_object_cuesheet_track_delete_index()
1557 track = &object->data.cue_sheet.tracks[track_num]; in FLAC__metadata_object_cuesheet_track_delete_index()
1562 FLAC__metadata_object_cuesheet_track_resize_indices(object, track_num, track->num_indices-1); in FLAC__metadata_object_cuesheet_track_delete_index()
1614 …tadata_object_cuesheet_set_track(FLAC__StreamMetadata *object, uint32_t track_num, FLAC__StreamMet… in FLAC__metadata_object_cuesheet_set_track() argument
1617 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_set_track()
1619 return cuesheet_set_track_(object, object->data.cue_sheet.tracks + track_num, track, copy); in FLAC__metadata_object_cuesheet_set_track()
1622 …ata_object_cuesheet_insert_track(FLAC__StreamMetadata *object, uint32_t track_num, FLAC__StreamMet… in FLAC__metadata_object_cuesheet_insert_track() argument
1628 FLAC__ASSERT(track_num <= object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_insert_track()
1636 …memmove(&cs->tracks[track_num+1], &cs->tracks[track_num], sizeof(FLAC__StreamMetadata_CueSheet_Tra… in FLAC__metadata_object_cuesheet_insert_track()
1637 cs->tracks[track_num].num_indices = 0; in FLAC__metadata_object_cuesheet_insert_track()
1638 cs->tracks[track_num].indices = 0; in FLAC__metadata_object_cuesheet_insert_track()
1640 return FLAC__metadata_object_cuesheet_set_track(object, track_num, track, copy); in FLAC__metadata_object_cuesheet_insert_track()
1643 …FLAC__metadata_object_cuesheet_insert_blank_track(FLAC__StreamMetadata *object, uint32_t track_num) in FLAC__metadata_object_cuesheet_insert_blank_track() argument
1647 return FLAC__metadata_object_cuesheet_insert_track(object, track_num, &track, /*copy=*/false); in FLAC__metadata_object_cuesheet_insert_blank_track()
1650 …_bool FLAC__metadata_object_cuesheet_delete_track(FLAC__StreamMetadata *object, uint32_t track_num) in FLAC__metadata_object_cuesheet_delete_track() argument
1656 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_delete_track()
1661 free(cs->tracks[track_num].indices); in FLAC__metadata_object_cuesheet_delete_track()
1664 …memmove(&cs->tracks[track_num], &cs->tracks[track_num+1], sizeof(FLAC__StreamMetadata_CueSheet_Tra… in FLAC__metadata_object_cuesheet_delete_track()