Set an estimate of the total samples that will be encoded.
This is merely an estimate and may be set to \c 0 if unknown.
This value will be written to the STREAMINFO block before encoding,
and can remove the need for the caller to rewrite the value later
if the value is known before encoding.
\default \c 0
\param encoder An encoder instance to set.
\param value See above.
\assert
\code encoder != NULL \endcode
\retval FLAC__bool
\c false if the encoder is already initialized, else \c true.
Set an estimate of the total samples that will be encoded. This is merely an estimate and may be set to \c 0 if unknown. This value will be written to the STREAMINFO block before encoding, and can remove the need for the caller to rewrite the value later if the value is known before encoding.
\default \c 0 \param encoder An encoder instance to set. \param value See above. \assert \code encoder != NULL \endcode \retval FLAC__bool \c false if the encoder is already initialized, else \c true.