Commit graph

29 commits

Author SHA1 Message Date
maya
65fbaa2a1e libaudiofile: fix the second UB in the same line of code, cstatic which
isn't actually a cstatic. switch to just defining it in the accessor.
GCC optimized this UB away leading to an undefined reference in the builds.

Also use a function which is right for int32 too (same as upstream)

Thanks joerg for the help
2016-12-19 00:14:43 +00:00
maya
e9dfd30558 libaudiofile: different way of doing the same operation, it's unclear
to me why it fails for others, but maybe this one works.
2016-12-18 23:40:22 +00:00
maya
3f53af93dc libaudiofile: attempt to fix Ubuntu build which is failing due to UB in code
Switch left shift of negative operand with functionally equivalent and
well-defined function.
2016-12-17 16:40:31 +00:00
agc
b734eb2ebf Add SHA512 digests for distfiles for audio category
Problems found with existing distfiles:
	/pub/pkgsrc/distfiles/amp-0.7.6.tgz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/kid3-3.3.0.tar.gz
	/pub/pkgsrc/distfiles/libdca-0.0.5.tar.bz2
	/pub/pkgsrc/distfiles/mp3to.gz
	/pub/pkgsrc/distfiles/squeezeboxserver-7.5.1-noCPAN.tgz
No changes made to these file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:12:23 +00:00
jperkin
6d383a8c55 *** empty log message *** 2013-03-15 15:36:40 +00:00
adam
370c9542c9 Changes 0.3.6:
* Implement FLAC and ALAC encoding and decoding.
* Update license to LGPL 2.1.
2013-03-07 17:03:11 +00:00
wiz
2995b432b2 Update to 0.3.5:
Changes for Audio File Library version 0.3.5:

* Implement IMA ADPCM encoding and decoding for AIFF-C, CAF, and WAVE files.
* Implement Microsoft ADPCM encoding for WAVE files.
* Fix calculation of IRCAM frame size.
* Record marker comments in WAVE files.
* Improve validation of compressed audio formats.
* Add support for building without documentation.
2013-02-07 10:25:55 +00:00
wiz
a19dc0185f Update to 0.3.4:
Changes for Audio File Library version 0.3.4:

* Use hidden visibility for internal symbols.
* Add support for Sample Vision format.
* Update license for extended-precision floating-point conversion routines.
2012-05-20 13:38:20 +00:00
drochner
592ebb2c54 remove unnecessary patches 2012-01-13 11:38:44 +00:00
adam
efc3144250 Changes 0.3.3:
* Update library's soname version.
* Link against libm.
2012-01-12 16:34:28 +00:00
rumko
e584118a39 Add configure check for libm
Fixes build for DragonFly BSD.

Provided by Matthias Rampke through PR pkg/45757
2011-12-29 16:19:25 +00:00
wiz
c742cc7824 Remove two patches; upstream says that extending precision is not
the right approach and that he changed the calculation for 0.3.2 in a
more robust way.
Note that patch-configure will be integrated in next release.

Bump PKGREVISION for patch removal.
2011-11-30 20:52:46 +00:00
wiz
8ab04715a4 Update to 0.3.2:
Changes for Audio File Library version 0.3.2:

* Fix initialization of byte order in Creative Voice File format.
* Fix calculation of frame count in NIST SPHERE sound files.
* Remove duplicate definition of AFvirtualfile.
* Don't treat compiler warnings as errors by default.
2011-11-30 14:30:57 +00:00
wiz
e015e45d8a Remove:
typedef struct _AFvirtualfile AFvirtualfile;
from af_vfs.h, the same line is in audiofile.h (which it includes),
and this breaks the build of musicpd.
Bump PGKREVISION.
2011-11-30 11:59:39 +00:00
wiz
c50bd2848a Update to 0.3.1:
Changes for Audio File Library version 0.3.1:

* Fix installation of man pages.
* Add support for Creative Voice File format.
* Support u-law and A-law compression in Core Audio Format files.

Changes for Audio File Library version 0.3.0:

* Define AFframecount and AFfileoffset as 64-bit integers regardless of
  whether system specifies off_t as 64 bits.
* Added support for Core Audio Format.
* Added support for extensible WAVE format files.
* Fixed leak of miscellaneous data buffers. (Thanks to Stefano Magni
  for finding and fixing this problem.)
* Fixed default mapping between integer and floating-point audio data.
* Fix handling of NeXT sound files with unspecified or inconsistent length.
* Added support for miscellaneous data in IFF/8SVX files.
* Added support for byte-swapped IRCAM sound files.
* Refactored file parsing and writing.
* Refactored audio conversion.
* Updated and expanded documentation.
2011-11-29 19:39:30 +00:00
drochner
c6f1e337d8 update to 0.2.7
changes:
-Fix decoding of multi-channel ADPCM WAVE files (was patched in pkgsrc)
-Reduce unshared data in library
-Fix handling of audio files with more than 2^24 frames
-Add support for writing double-precision floating-point WAVE files
-Add support for reading certain uncompressed AIFF-C files created
 by Mac OS X
-Write fact chunk in floating-point WAVE files
2010-04-12 19:04:58 +00:00
drochner
6f0af524e0 Debian has integrated a fix for ADPCM decoding problems which is
similar to our one, and added additional sanity checks
(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510205#59)
use their version to ease further maintainance, bump PKGREVISION
2009-12-01 10:44:02 +00:00
drochner
62253534ba (attempt to) fix CVE-2008-5824 (buffer overflow in msadpcm.c),
see Debian bug #510205, just done correctly.
The IMA code might have similar problems. The code appearently can't
handle stereo files correctly anyway, so bail out if >1 channel
which should avoid the problem.
bump PKGREVISION
2009-01-21 15:19:27 +00:00
wiz
63bc8e3278 Fix AC_DEFUN argument quoting for automake 1.8 and newer. Addresses
part of PR 30053.  No PKGREVISION bump because most people won't
care.
2005-04-27 08:57:00 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
recht
c418c9cfde update to 0.2.6
ok'd by tron@

What's new in version 0.2.6:
* Added support for AVR, IFF/8SVX, and NIST SPHERE file formats.
* Added example program demonstrating audio file playback on Mac OS X.
2004-03-09 13:29:28 +00:00
jmmv
5ef9bad17c Update to 0.2.5:
- Fix bugs related to processing 24-bit audio data.
- Made AIFF/AIFF-C parsing more robust.
2004-02-06 17:09:29 +00:00
wiz
fcb376db3b Update to 0.2.4:
Added support for large files.  This option is disabled by default; to
enable large file support, run configure with the flag --enable-largefile.

Improved support for markers in WAVE files.

Added support for miscellaneous data in WAVE files.

Cleaned up code in many places.
2003-10-05 10:17:15 +00:00
rh
e525650d57 Replace hand made patches for pkgconfig tempates with PKGCONFIG_OVERRIDE. 2002-10-30 03:09:25 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
rh
db7a881c68 Patch the various pkgconfig files to include proper -Wl,-R options.
Bump PKGREVISION
2002-07-18 02:19:24 +00:00
wiz
f3f1c5fecd Update to 0.2.3.
Changes since 0.2.1:
Fixed a bug involving the processing of 24-bit audio data on
little-endian systems.
Added support for IMA and MS ADPCM.
Added support for the IRCAM file format.
Added support for AF_QUERYTYPE_COMPRESSION.
Added support for floating-point data in the AIFF-C and WAVE file
formats.
Improved support for compressed data formats in AIFF-C, WAVE, and NeXT
.snd file formats.
Cleaned up code for 64-bit systems.
Cleaned up some compiler warnings.
Added many new tests.
Fixed several small bugs.
Cleaned up code in many places.
2002-03-24 21:38:25 +00:00
agc
952fa0ef9f Move to sha1 digests, and add distfile sizes. 2001-04-18 12:14:28 +00:00
agc
18ea9c7e79 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:22:24 +00:00