[Flac-dev] total_samples of Ogg Flac file

Erik de Castro Lopo erikd-flac at mega-nerd.com
Sat Nov 11 23:32:54 PST 2006


Josh Coalson wrote:

> right now, the ogg flac encoder does not go back and fill in
> missing stuff in the headers like native flac does.

Ah, OK.

>  it will
> eventually, but the best thing is to call
> FLAC__stream_encoder_set_total_samples_estimate() before
> initializing the encoder, that was the correct number is
> written in the STREAMINFO block during the first pass.

Thats fine if you know at the start, but not so good if you
don't. I'll wait until that bit is fixed.

Cheers,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"Every time an American goes to a gas station, he is sending money
to America's enemies." -- http://www.meforum.org/article/653


More information about the Flac-dev mailing list