Re: warning that legacy WAVE file has format type 1 but bits-per-sample is 24

Erik de Castro Lopo <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.devel
Organization Erik Conspiracy Secret Labs
Message-ID <[email protected]>
Mark H. David wrote:

> I'm new at this and trying to understand it. Can someone explain?\

You are correct. With a wFormatTag of 1, the bist per sample should be
either 8 or 16 (according to the Microsoft specs). 

> Also, a related but more practical question: is there *any* way to
> create a 24- or 32-bits-per-sample WAVE file without getting this
> warning when flac tries to encode it?

Yes there is. To avoid this wanring the it should have a WAVE_FORMATEXTENSIBLE
wFormatTag. Its trivally easy to convert your legacy format file to
WAVEX using the sndfile-convert program that is part of

    https://mega-nerd.com/libsndfile/

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
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.