571 Commits

Author SHA1 Message Date
Cristian Rodríguez
9b7cb22f84 Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined
  variable, use the proper AM_CPPFLAGS instead

- Remove FLAC__INLINE definition, providing proper
  replacement for MSVC compilers.

- Detect if we have C99 's lround and provide a replacement
  for windows...
2012-04-08 09:03:03 +10:00
Erik de Castro Lopo
2f8b6a0349 Rename ENDSWAP_INT to ENDSWAP_32. 2012-03-05 21:12:20 +11:00
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
c506b2f43e include/FLAC/ordinals.h : Remove CPP hackery.
This change assumes that a C99 <stdint.h> header is available. For
compilers where that is not the case, the user should provide a
minimal replacement header.
2012-02-10 19:19:11 +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
1be89c498d add FLAC__format_blocksize_is_subset() 2008-05-27 05:19:52 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
841fdd30a6 bump libtool version numbers 2007-09-15 01:08:15 +00:00
Josh Coalson
504dcafeb4 minor comments 2007-09-13 15:42:47 +00:00
Josh Coalson
9f28b59ce1 minor comments 2007-09-13 00:37:50 +00:00
Josh Coalson
8679516bc5 add link to new example code page 2007-09-13 00:36:43 +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
7fb67ac1e4 add not about OPT: sections 2007-09-12 01:03:57 +00:00
Josh Coalson
0221d87c89 handle SIZE_T_MAX 2007-09-11 04:46:34 +00:00
Josh Coalson
582e675d67 remove unnecessary #includes 2007-09-11 00:26:07 +00:00
Josh Coalson
223b9cae7d add alloc.h 2007-09-10 05:58:43 +00:00
Josh Coalson
17af340739 fix #include for off_t (SF#1786225: https://sourceforge.net/tracker/index.php?func=detail&aid=1786225&group_id=13478&atid=313478) 2007-09-08 22:49:07 +00:00
Josh Coalson
367c1587f5 add --disable-cpplibs configure option (SF#1723295: https://sourceforge.net/tracker/index.php?func=detail&aid=1723295&group_id=13478&atid=313478 2007-08-29 05:45:19 +00:00
Josh Coalson
a8bd44b80e #include for off_t, minor comments 2007-08-21 08:07:29 +00:00
Josh Coalson
4e56b06d63 add FLAC__metadata_simple_iterator_get_application_id() 2007-08-15 05:59:09 +00:00
Josh Coalson
09ccf20ae6 add FLAC__metadata_simple_iterator_get_block_offset(), FLAC__metadata_simple_iterator_get_block_length(), FLAC__metadata_simple_iterator_is_last() 2007-08-14 00:34:50 +00:00
Josh Coalson
c90a5cad24 bump libtool number in prep for release 2007-07-10 02:09:38 +00:00
Josh Coalson
1296cb8f19 add porting guide item for 1.1.4->1.2.0 2007-07-07 07:02:11 +00:00
Josh Coalson
b47ab0d250 merge decoder part from RICE_EXT_BRANCH: blocking strategy bit, new rice2 ecm, frame header support for 88.2/176.4/192kHz, new reserved bit, deprecated blocksize-from-streaminfo bit 2007-06-16 00:50:28 +00:00
Josh Coalson
62cb525f3a *** empty log message *** 2007-06-14 06:17:57 +00:00
Josh Coalson
a4f93918cd add FLAC::Decoder::Stream::get_decode_position() 2007-04-05 00:49:41 +00:00
Josh Coalson
2258fa8ec9 add FLAC__format_sample_rate_is_subset() 2007-03-30 01:02:40 +00:00
Josh Coalson
d67319f240 add porting item for 1.1.4 2007-02-14 05:59:47 +00:00
Josh Coalson
4296e1a40a bump libtool .so revision number 2007-02-14 05:59:09 +00:00
Josh Coalson
147dbe2baa fix minor leaks 2007-02-13 02:05:19 +00:00
Josh Coalson
d83553dd2b change the min/max rice partition order for compression levels -0 .. -6 2007-02-06 04:48:26 +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
1c03407931 in FLAC__stream_encoder_set_metadata(), copy the metadata array of pointers instead of requiring the caller to keep it until initialization; the objects themselves are still owned by caller 2007-01-29 08:27:25 +00:00
Josh Coalson
cd80d1447c add docs on sample format for process calls (SF#1627966: http://sourceforge.net/tracker/index.php?func=detail&aid=1627966&group_id=13478&atid=213478) 2007-01-05 01:08:55 +00:00
Josh Coalson
2beca73003 patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478) 2006-11-21 01:51:58 +00:00