Displaying 2 results from an estimated 2 matches for "wave_formatextensible".
Did you mean:
wave_format_extensible
2017 May 26
2
warning that legacy WAVE file has format type 1 but bits-per-sample is 24
Hello,
I've tried encoding a FLAC file from a WAVE file saved with
24-bits-per-sample, using the flac executable. I get this warning:
WARNING: legacy WAVE file has format type 1 but bits-per-sample=24
The code is currently here on line 373:
src/flac/encode.c
where the comment says
let these slide with a warning since they're unambiguous
I do not really understand the warning
2017 May 26
3
warning that legacy WAVE file has format type 1 but bits-per-sample is 24
...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/
_________...