Commit Graph

66 Commits

Author SHA1 Message Date
Erik de Castro Lopo
b48909780b Fix a couple 'inlining failed' warning messages. 2012-02-26 20:00:36 +11:00
Earl Chew
0554a4aee6 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>
2012-02-26 12:19:56 +11:00
Erik de Castro Lopo
3789c44e14 Remove '#if 0'-ed out code. 2012-02-17 18:00:10 +11:00
Erik de Castro Lopo
587e118bfc Fix a bunch of -Wtype-limits warnings. 2012-02-17 17:52:12 +11:00
Erik de Castro Lopo
d7bfc779c8 Add XIPH_BSWAP32 configure macro to detect __builtin_bswap32() intrinsic. 2012-02-06 07:15:48 +11:00
Erik de Castro Lopo
a5d1d4f0c5 Improve endswapping (especially purge ntohl). 2012-02-05 11:24:14 +11:00
Erik de Castro Lopo
6184fd7452 include/share/Makefile.am : Add compat.h to EXTRA_DIST. 2012-02-05 09:21:29 +11:00
Erik de Castro Lopo
59afe36f71 Add file include/share/compat.h and start moving CPP hackery into it. 2012-02-04 16:13:37 +11:00
Erik de Castro Lopo
6b3b137099 Fix a couple of -Winline warnings. 2012-02-01 19:49:54 +11:00
Josh Coalson
c2593cc1bd license must be BSD since it is used by libFLAC 2009-10-05 18:45:10 +00:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
c9ed238c3d Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets (SF#1947353, SF#2182432: https://sourceforge.net/tracker2/?func=detail&aid=1947353&group_id=13478&atid=363478 https://sourceforge.net/tracker2/index.php?func=detail&aid=2182432&group_id=13478&atid=113478) 2009-01-07 07:03:17 +00:00
Josh Coalson
0915a551eb Fixes for Sun Studio/Forte; us AC_C_INLINE to detect inline keyword for compiler; eliminate floating point calcs in RG analysis array size calculations (SF#1701960: https://sourceforge.net/tracker2/?func=detail&aid=1701960&group_id=13478&atid=313478) 2009-01-03 02:13:17 +00:00
Josh Coalson
8e28e43b25 remove some inlining directives 2009-01-03 02:10:18 +00:00
Josh Coalson
290c3f7a14 better check for stdint.h 2008-11-29 21:01:20 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
8c4ac1dcb7 msvc fixes 2007-09-12 05:28:48 +00:00
Josh Coalson
4d20d894dd inline all safe alloc funcs 2007-09-12 01:04:24 +00:00
Josh Coalson
0221d87c89 handle SIZE_T_MAX 2007-09-11 04:46:34 +00:00
Josh Coalson
223b9cae7d add alloc.h 2007-09-10 05:58:43 +00:00
Josh Coalson
147dbe2baa fix minor leaks 2007-02-13 02:05:19 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
e3ec2ad59e convert C prototypes for functions with no args from () to (void) 2007-01-31 03:53:22 +00:00
Josh Coalson
f37520b91f final merge down from 1.1.2 maintenance branch (cvs up -j FLAC_RELEASE_1_1_2_MAINTENANCE_BASELINE -j FLAC_RELEASE_1_1_2_MAINTENANCE_BRANCH) 2006-11-20 06:46:07 +00:00
Josh Coalson
7afb1553c7 fix grabbag__file_are_same() on win32 by using GetFileInformationByHandle() to compare 2006-11-02 01:39:54 +00:00
Josh Coalson
1568b1f785 in grabbag__file_are_same() check that st_dev is same also 2006-10-13 04:27:06 +00:00
Josh Coalson
044be30e2a fix "extern"ness of ReplayGainReferenceLoudness 2006-10-12 01:16:49 +00:00
Josh Coalson
1d691ca149 add grabbag__file_are_same() 2006-10-10 00:38:28 +00:00
Josh Coalson
6e94c90e60 add parsing of picture type from spec; add check that type 1 picture is 32x32 PNG 2006-09-24 16:17:53 +00:00
Josh Coalson
5f427b3fd3 new tester for testing PICTURE specification parsing 2006-09-24 07:19:55 +00:00
Josh Coalson
3fae7d4cd6 add picture.h 2006-09-24 07:17:11 +00:00
Josh Coalson
b292e75ebf add support for new REPLAYGAIN_REFERENCE_LOUDNESS tag 2006-09-14 00:40:03 +00:00
Josh Coalson
dcf04428fe add ReplayGainReferenceLoudness constant 2006-09-14 00:39:32 +00:00
Josh Coalson
b1ec796bda complete largefile support 2006-05-24 04:41:36 +00:00
Josh Coalson
96d8cd2390 fix comment typos 2006-04-25 07:00:39 +00:00
Josh Coalson
0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson
95e39a8fa5 allow non-strict mode for reading replaygain tags, to fallback to track tags if album tags are not available and vice versa 2005-09-01 01:01:08 +00:00
Josh Coalson
83b8d28f9d add shorthand option --remove-replay-gain to metaflac 2005-08-31 00:30:41 +00:00
Josh Coalson
a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson
8a5b74068a *** empty log message *** 2004-01-30 07:34:17 +00:00
Josh Coalson
9564390fb9 update copyright to 2004 2004-01-17 04:14:43 +00:00
Josh Coalson
5dda2bd67b use double for scale factor instead of float 2003-12-18 05:19:34 +00:00
Josh Coalson
9c650a561a add undocumented option --apply-replaygain-which-is-not-lossless to flac; required a lot of reorganization; gain_analysis lib renamed to replaygain_analyis; replaygain_synthesis moved out of plugin_common into its own library in share/ 2003-12-17 04:51:06 +00:00
Josh Coalson
5e2f571140 fix some ansi violations in identifier names 2003-01-13 02:12:23 +00:00
Josh Coalson
afae69f0e3 Add 2003 to copyright notice 2003-01-02 07:03:16 +00:00
Josh Coalson
8f0c71b877 add "is_cd" flag to CUESHEET everywhere 2002-12-05 06:37:46 +00:00
Josh Coalson
121a3561be add cuesheet writer 2002-11-22 06:20:19 +00:00
Josh Coalson
bfc8e319c2 revamp MSVC build system, separate dynamic and static builds, separate debug and release intermediate directories 2002-11-21 09:00:25 +00:00
Josh Coalson
5d86e18cd2 add cuesheet.h 2002-11-19 06:21:00 +00:00
Josh Coalson
d5f612c1d0 initial import 2002-11-19 06:09:07 +00:00