[Flac-dev] FLAC__stream_decoder_get_total_samples doesn't work for OggFlac files

Erik de Castro Lopo erikd-flac at mega-nerd.com
Sat Jul 14 00:59:24 PDT 2007


Hi all,

The function:

    FLAC_API FLAC__uint64
    FLAC__stream_decoder_get_total_samples(const FLAC__StreamDecoder *decoder);

works correcly for native FLAC files, but returns 0 for OggFlac.

Is that a bug in the function or a bug in the documentation?

Cheers,
Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"The power of accurate observation is commonly called cynicism by those
who don't have it." -- George Bernard Shaw


More information about the Flac-dev mailing list