FLAC__metadata_object_cuesheet_set_track

Sets a track in a CUESHEET block.

If \a copy is \c true, a copy of the track is stored; otherwise, the object takes ownership of the \a track pointer.

\param object A pointer to an existing CUESHEET object. \param track_num Index into track array to set. NOTE: this is not necessarily the same as the track's \a number field. \param track The track to set the track to. You may safely pass in a const pointer if \a copy is \c true. \param copy See above. \assert \code object != NULL \endcode \code object->type == FLAC__METADATA_TYPE_CUESHEET \endcode \code track_num < object->data.cue_sheet.num_tracks \endcode \code (track->indices != NULL && track->num_indices > 0) || (track->indices == NULL && track->num_indices == 0) \endcode \retval FLAC__bool \c false if \a copy is \c true and malloc() fails, else \c true.

extern (C) nothrow
FLAC__metadata_object_cuesheet_set_track

Meta