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

2017-05-27 Thread Erik de Castro Lopo
Brian Willoughby wrote:

> Are there some (old) programs that will not accept WAVEX headers? I'm
> trying to think of why the flac utility worked this way in the first place.

Yes probably. But that was probably 10 years ago or more.

> In any event, it seems like it would be prudent to add a command line
> option to preserve the existing behavior, just in case anyone has archived
> their audio using FLAC and would need to maintain compatibility with the
> legacy WAVE format.

Its trvially easy to losslessly convert between legacy and WAVEX formats.
Like I said, sndfile-convert does it.

> It's not always possible to replace certain old programs,
> especially in recording studios.

A program that suppoprts 24 bit WAV and does support WAVEX would have
had to be really old even 10 years ago. I don't think its worth adding
this command line flag unless someone actually runs into the problem.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


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

2017-05-27 Thread Brian Willoughby

On May 26, 2017, at 9:52 PM, Erik de Castro Lopo  wrote:
> Mark H. David wrote:
>> Notice the warning was given only for the WAVE file produced by the
>> flac reference executable.
> 
> I agree. The flac decoder should not generate WAV files which it 
> warns about when encoding.
> 
>> Should I file a bug for this?
> 
> No need. This is sufficient.
> 
> Erik

Are there some (old) programs that will not accept WAVEX headers? I'm trying to 
think of why the flac utility worked this way in the first place.

In any event, it seems like it would be prudent to add a command line option to 
preserve the existing behavior, just in case anyone has archived their audio 
using FLAC and would need to maintain compatibility with the legacy WAVE 
format. It's not always possible to replace certain old programs, especially in 
recording studios.

Brian Willoughby
Sound Consulting

___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


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

2017-05-27 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> > Notice the warning was given only for the WAVE file produced by the
> > flac reference executable.
> 
> I agree. The flac decoder should not generate WAV files which it 
> warns about when encoding.

Fixed in Git.

Thanks,
Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev