[][src]Function flac_sys::FLAC__metadata_object_cuesheet_insert_blank_track

pub unsafe extern "C" fn FLAC__metadata_object_cuesheet_insert_blank_track(
    object: *mut FLAC__StreamMetadata,
    track_num: c_uint
) -> FLAC__bool

Insert a blank track in a CUESHEET block at the given index.

A blank track is one in which all field values are zero.

\param object A pointer to an existing CUESHEET object. \param track_num The index at which to insert the track. NOTE: this is not necessarily the same as the track's \a number field. The tracks at and after \a track_num move right one position. To append a track to the end, set \a track_num to \c object->data.cue_sheet.num_tracks . \assert \code object != NULL \endcode \code object->type == FLAC__METADATA_TYPE_CUESHEET \endcode \code object->data.cue_sheet.num_tracks >= track_num \endcode \retval FLAC__bool \c false if \a copy is \c true and malloc() fails, else \c true.