Lines Matching refs:track_num
338 static void tr_resize_(FLAC__StreamMetadata *block, uint32_t track_num, uint32_t num) in tr_resize_() argument
342 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks); in tr_resize_()
344 tr = &block->data.cue_sheet.tracks[track_num]; in tr_resize_()
366 static void tr_set_new_(FLAC__StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__Stream… in tr_set_new_() argument
370 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks); in tr_set_new_()
372 tr = &block->data.cue_sheet.tracks[track_num]; in tr_set_new_()
381 static void tr_insert_new_(FLAC__StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__Str… in tr_insert_new_() argument
385 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks); in tr_insert_new_()
387 tr = &block->data.cue_sheet.tracks[track_num]; in tr_insert_new_()
391 tr_resize_(block, track_num, tr->num_indices+1); in tr_insert_new_()
393 tr_set_new_(block, track_num, pos, indx); in tr_insert_new_()
397 static void tr_delete_(FLAC__StreamMetadata *block, uint32_t track_num, uint32_t pos) in tr_delete_() argument
401 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks); in tr_delete_()
403 tr = &block->data.cue_sheet.tracks[track_num]; in tr_delete_()
408 tr_resize_(block, track_num, tr->num_indices-1); in tr_delete_()