Commit Graph

3215 Commits

Author SHA1 Message Date
Erik de Castro Lopo
d9fde55674 Fix all links to libtool version info rules. 2012-05-07 19:45:23 +10:00
Erik de Castro Lopo
f491b73385 Bump version-info for libFLAC++ from 8:0:2 to 8:0:3. 2012-05-07 19:38:05 +10:00
Erik de Castro Lopo
cd9053cd31 Add functionality present in the C library to the to C++ SeekTable class.
Patch from Bastiaan Timmer <basjetimmer@yahoo.com> sent to the
<flac-dev@xiph.org> mailing list.
2012-05-07 19:22:37 +10:00
Erik de Castro Lopo
c5c4ce918f Tweak MALLOC_PERTURB_ expression in tests. 2012-04-19 06:31:11 +10:00
Cristian Rodríguez
95f0f75477 export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite
That enables an special implementation that checks
for common memory errors and will save us from a lot pain.
2012-04-19 04:54:01 +10:00
Cristian Rodríguez
c2417da842 replace local_strtoull with _strtoui64 in windows
Previous patch replaced the other local_strtoll with _strtoi64
2012-04-18 22:00:59 +10:00
Cristian Rodríguez
7e62afe9fa Remove local_strtoull, windows has equivalent function _strtoui64 2012-04-18 21:59:11 +10:00
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
8340ab3bc8 Use sizeof instead of magic number 4. 2012-04-07 09:00:09 +10:00
Erik de Castro Lopo
b3e9eb66ef Update .gitignore. 2012-04-07 08:52:39 +10:00
Cristian Rodríguez
f13ad37519 Fix make distcheck 2012-04-07 08:36:27 +10:00
Erik de Castro Lopo
425d39b5f8 src/libFLAC/include/private/macros.h : Add copyright header. 2012-04-06 09:58:23 +10:00
Cristian Rodríguez
f029625591 V2: Use a single definition of MIN and MAX in sources 2012-04-06 09:52:06 +10:00
Cristian Rodríguez
d30fe60fc6 remove unnecesary typedef in bitwriter.c 2012-04-06 09:06:17 +10:00
Erik de Castro Lopo
5de949f417 Fix gcc-4.7 compiler warnings. 2012-04-05 21:24:06 +10:00
Erik de Castro Lopo
dff08f1be0 Fix buffer overflow by replacing strcpy with memcpy.
Thanks to Cristian Rodríguez <crrodriguez@opensuse.org> for the
report.
2012-04-05 21:02:40 +10:00
Erik de Castro Lopo
6c2040dc90 Remove casting of return value from *alloc() functions. 2012-04-04 21:29:25 +10:00
Erik de Castro Lopo
afedee1251 configure.ac : Add AM_PROG_CC_C_O. 2012-04-04 20:08:52 +10:00
Erik de Castro Lopo
66bd44bacc Remove unnecessary typedef. 2012-03-30 22:25:39 +11:00
Erik de Castro Lopo
5c44cd7d0c Add GCC specific optimisation for log base 2 operations.
Based on a patch from Cristian Rodríguez.
2012-03-30 21:55:08 +11:00
Erik de Castro Lopo
238b2676c2 Remove winamp2 plugin
Patch from Cristian Rodríguez
Nullsoft has provided a native FLAC support since Winamp 5.31 (since
the year 2006).
2012-03-30 21:35:41 +11:00
Erik de Castro Lopo
f20770e5d4 Add patch from Earl Chew <earl_chew@yahoo.com> that adds testing for
the replay gain calculations.
2012-03-19 07:44:11 +11:00
Erik de Castro Lopo
2f8b6a0349 Rename ENDSWAP_INT to ENDSWAP_32. 2012-03-05 21:12:20 +11:00
Dave Yeo
b81e794302 Include stdlib.h for _response() and _wildcard() declarations on OS/2 2012-02-27 17:36:34 +11:00
Dave Yeo
c89269e20d a.out format does not support many .section directives 2012-02-27 17:36:27 +11:00
Erik de Castro Lopo
caef93ec8b configure.ac : Report useful info at the end of configure. 2012-02-26 22:41:44 +11:00
Erik de Castro Lopo
b48909780b Fix a couple 'inlining failed' warning messages. 2012-02-26 20:00:36 +11:00
Erik de Castro Lopo
d273fceece Fix a couple of sign-compare warnings. 2012-02-26 19:08:41 +11:00
Earl Chew
41748f049c Port David Robinson's equalloudfilt.m MATLAB script to scilab so that the ReplayGain filter settings can be generated using an OpenSource tool.
Signed-off-by: Earl Chew <earl_chew@yahoo.com>
2012-02-26 12:41:35 +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
774e0776a5 Speed up the tests by testing slightly fewer combinations. 2012-02-26 12:19:39 +11:00
Erik de Castro Lopo
21a4f653e1 .gitignore : Ignore more m4 files. 2012-02-25 10:25:54 +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
a4ffcc0239 Fix -Werror=format-security errors.
Fixes "format not a string literal and no format arguments
 [-Werror=format-security]" errors.

Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
Closes Debian bug #643377.
2012-02-13 19:58:08 +11:00
Erik de Castro Lopo
e38026a52c Fix for autoreconf failures.
Fixes "undefined macro: AM_PATH_XMMS" and similar errors which cause
autoreconf to fail.

From Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
2012-02-13 19:55:46 +11:00
Erik de Castro Lopo
b6e64af3b3 Disable Altivec on host triplet powerpc-unknown-linux-gnuspe.
SPE is incompatible with AltiVec because it shares the same opcode range.

Patch from Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
2012-02-13 19:46:32 +11:00
Erik de Castro Lopo
c08b67923c libFLAC.m4 : Prevent empty -L flag.
Fix libFLAC.m4 may set empty -L flag when configure is called without
arguments, provided of course that the target package's configure script
is properly re-generated against the fixed libFLAC.m4

Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
2012-02-13 19:39:55 +11:00
Erik de Castro Lopo
766a7b4c6b Merge branch 'noname' 2012-02-13 06:22:30 +11:00
Erik de Castro Lopo
34de69aedd Disable executable stack in libFLAC.so.
This allows programs using it to run correctly on SE Linux systems, and
with exec-shield.

Patch from Russell Coker <russell@coker.com.au> via Debian.
2012-02-12 20:49:17 +11:00
Erik de Castro Lopo
71396bb948 Add missing <cstring> include.
Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via
Debian. Closes Debian bug #455304.
2012-02-12 20:47:15 +11:00
Erik de Castro Lopo
df80b9b659 Add missing <csting> include.
Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via
Debian. Closes Debian bug #455304.
2012-02-12 20:45:53 +11:00
Erik de Castro Lopo
cfac5975c1 metaflac : Exit with error if invalid option is passed.
Fix from Joshua Kwan <joshk@triplehelix.org> via Debian.
Closes Debian bug #329979.
2012-02-12 20:39:09 +11:00
Erik de Castro Lopo
e2f80c17b7 Fix misuse of \r (potentially) in flac -d or -t output.
Patch from Joshua Kwan <joshk@triplehelix.org> via Debian.
Closes Debian bug #138828.
2012-02-12 20:37:16 +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
dac99fa20b Patch from Dave Yeo to remove more CPP hackery.
Dave's comments:
This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been
been replaced by klibc. Considering the age of EMX and lack of testing
and that klibc contains so many improvements I think this is exceptable.
2012-02-08 21:07:08 +11:00
Erik de Castro Lopo
efffc25c18 Fix 'make distcheck'.
This disables the tests that don't run correctly out-of-tree from
the 'make check' target. Also add a new 'make fullcheck' target
which is the full old test suite.
2012-02-07 18:41:28 +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
3abb6c98e9 Add m4/endian.m4 and use it in configure.ac. 2012-02-05 18:58:11 +11:00
Erik de Castro Lopo
1649c4ab3c Encoder::Stream::set_metadata() broken - ID: 3282704
http://sourceforge.net/tracker/?func=detail&aid=3282704&group_id=13478&atid=313478
2012-02-05 16:51:32 +11:00