Support 56kHz to 19.2kHz gain analysis (Patch v4)
authorEarl Chew <earl_chew@yahoo.com>
Thu, 23 Feb 2012 00:57:54 +0000 (16:57 -0800)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 26 Feb 2012 01:19:56 +0000 (12:19 +1100)
commit0554a4aee6966bc5b251364753ef85de72dfab19
tree4471e15fde69ebf229f00d68ff17536c236e8c13
parent774e0776a53ca363e58040caff603463ee6e14fc
Support 56kHz to 19.2kHz gain analysis (Patch v4)

This implementation uses decimation to generate an estimate of the
required ReplayGain adjustment for tracks sampled at high rates.

This approach avoids having to generate filters with commensurately more taps,
and also the subsequent effect on performance as these additional
taps are evaluated for high sample rate tracks.

Filter table entries with coefficients that are unchanged are
marked /* ORIGINAL */.

The remaining entries are new and have coefficient values obtained
from src/utils/loudness/loudness.sci. See:

        http://lists.xiph.org/pipermail/flac-dev/2012-February/003220.html

Because these filter coefficients can be generated from a known source,
they are preferred to the FooBar2000 coefficients whose provenance is
unknown.

Signed-off-by: Earl Chew <earl_chew@yahoo.com>
include/share/replaygain_analysis.h
src/share/grabbag/replaygain.c
src/share/replaygain_analysis/replaygain_analysis.c