[flac-dev] [PATCH] stream_encoder : Improve selection of residual accumulator width

Miroslav Lichvar mlichvar at redhat.com
Fri Jun 20 01:53:44 PDT 2014


On Thu, Jun 19, 2014 at 09:23:26PM +0200, Martijn van Beurden wrote:
> op 19-06-14 20:17, lvqcl schreef:
> > It seems quite common for 16-bit files:
> 
> I second that. Apparently it depends on the kind of music, some 
> albums have no warnings (mostly classical music it seems), some 
> have over 20 per file. I've seen a few with > 100 per file 
> (things like rock and heavy metal). Most of the FLAC files were 
> encoded with FLAC 1.2.1.

Thanks for the data.

I think I was just confused. The residual seems to be always handled
as 32-bit and it's only added to the original signal, there is no
multiplication, so it shouldn't be a problem.

-- 
Miroslav Lichvar


More information about the flac-dev mailing list