Re: I can't find source 1.3.2

Martin Leese <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.devel
Message-ID <CAAzqGd_DJHR9VWuTV5bMTMwt2sEmFH+yrRiu2YXA=F+5m6d1QQ@mail.gmail.com>
ecfun wrote:

>   I study FLAC  decoder
>
>   but it  say
>
>  * This example shows how to use libFLAC to decode a FLAC file to a WAVE
>  * file.  It only supports 16-bit stereo files.
>  *
>  * Complete API documentation can be found at:
>  *   http://flac.sourceforge.net/api/
>  */
>
>   It can support  24-bit or 32-bit  ?

The *example* only supports 16-bit stereo files.
The FLAC format supports 4 to 32 bits and 1
to 8 channels.

For examples:

https://xiph.org/flac/faq.html#general__samples
states:
    FLAC supports linear PCM samples with a
    resolution between 4 and 32 bits per sample.
    FLAC does not support floating point
    samples.

https://xiph.org/flac/format.html#metadata_block_streaminfo
states:
    FLAC supports from 4 to 32 bits per sample.
    Currently the reference encoder and
    decoders only support up to 24 bits per
    sample.

Regards,
Martin
-- 
Martin J Leese
E-mail: martin.leese  stanfordalumni.org
Web: http://members.tripod.com/martin_leese/
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.