[][src]Function flac_sys::FLAC__metadata_object_seektable_template_append_spaced_points

pub unsafe extern "C" fn FLAC__metadata_object_seektable_template_append_spaced_points(
    object: *mut FLAC__StreamMetadata,
    num: c_uint,
    total_samples: FLAC__uint64
) -> FLAC__bool

Append a set of evenly-spaced seek point templates to the end of a seek table.

\note As with the other ...seektable_template... functions, you should call FLAC__metadata_object_seektable_template_sort() when finished to make the seek table legal.

\param object A pointer to an existing SEEKTABLE object. \param num The number of placeholder points to append. \param total_samples The total number of samples to be encoded; the seekpoints will be spaced approximately \a total_samples / \a num samples apart. \assert \code object != NULL \endcode \code object->type == FLAC__METADATA_TYPE_SEEKTABLE \endcode \code total_samples > 0 \endcode \retval FLAC__bool \c false if memory allocation fails, else \c true.