Lines Matching refs:track_num
352 static void tr_resize_(FLAC__StreamMetadata *block, unsigned track_num, unsigned num)
356 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks);
358 tr = &block->data.cue_sheet.tracks[track_num];
380 static void tr_set_new_(FLAC__StreamMetadata *block, unsigned track_num, unsigned pos, FLAC__StreamMetadata_CueSheet_Index index)
384 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks);
386 tr = &block->data.cue_sheet.tracks[track_num];
395 static void tr_insert_new_(FLAC__StreamMetadata *block, unsigned track_num, unsigned pos, FLAC__StreamMetadata_CueSheet_Index index)
399 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks);
401 tr = &block->data.cue_sheet.tracks[track_num];
405 tr_resize_(block, track_num, tr->num_indices+1);
407 tr_set_new_(block, track_num, pos, index);
411 static void tr_delete_(FLAC__StreamMetadata *block, unsigned track_num, unsigned pos)
415 FLAC__ASSERT(track_num < block->data.cue_sheet.num_tracks);
417 tr = &block->data.cue_sheet.tracks[track_num];
422 tr_resize_(block, track_num, tr->num_indices-1);