Lines Matching refs:track_num
965 void CueSheet::set_index(unsigned track_num, unsigned index_num, const ::FLAC__StreamMetadata_CueSheet_Index &index)
968 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks);
969 FLAC__ASSERT(index_num < object_->data.cue_sheet.tracks[track_num].num_indices);
970 object_->data.cue_sheet.tracks[track_num].indices[index_num] = index;
973 bool CueSheet::insert_index(unsigned track_num, unsigned index_num, const ::FLAC__StreamMetadata_CueSheet_Index &index)
976 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks);
977 FLAC__ASSERT(index_num <= object_->data.cue_sheet.tracks[track_num].num_indices);
978 return (bool)::FLAC__metadata_object_cuesheet_track_insert_index(object_, track_num, index_num, index);
981 bool CueSheet::delete_index(unsigned track_num, unsigned index_num)
984 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks);
985 FLAC__ASSERT(index_num < object_->data.cue_sheet.tracks[track_num].num_indices);
986 return (bool)::FLAC__metadata_object_cuesheet_track_delete_index(object_, track_num, index_num);