Mon Apr 12 19:04:58 2010 UTC ()
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
(drochner)
diff -r1.44 -r1.45 pkgsrc/audio/libaudiofile/Makefile
diff -r1.13 -r1.14 pkgsrc/audio/libaudiofile/distinfo
diff -r1.10 -r0 pkgsrc/audio/libaudiofile/patches/patch-aa
diff -r1.2 -r0 pkgsrc/audio/libaudiofile/patches/patch-ac
diff -r1.2 -r0 pkgsrc/audio/libaudiofile/patches/patch-ad
diff -r0 -r1.1 pkgsrc/audio/libaudiofile/patches/patch-ae
diff -r0 -r1.1 pkgsrc/audio/libaudiofile/patches/patch-af
--- pkgsrc/audio/libaudiofile/Makefile 2009/12/01 10:44:02 1.44
+++ pkgsrc/audio/libaudiofile/Makefile 2010/04/12 19:04:58 1.45
| @@ -1,18 +1,17 @@ | | | @@ -1,18 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.44 2009/12/01 10:44:02 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.45 2010/04/12 19:04:58 drochner Exp $ |
2 | | | 2 | |
3 | DISTNAME= audiofile-0.2.6 | | 3 | DISTNAME= audiofile-0.2.7 |
4 | PKGNAME= lib${DISTNAME} | | 4 | PKGNAME= lib${DISTNAME} |
5 | PKGREVISION= 3 | | | |
6 | CATEGORIES= audio | | 5 | CATEGORIES= audio |
7 | MASTER_SITES= http://www.68k.org/~michael/audiofile/ \ | | 6 | MASTER_SITES= http://www.68k.org/~michael/audiofile/ \ |
8 | ${MASTER_SITE_GNOME:=sources/audiofile/0.2/} | | 7 | ${MASTER_SITE_GNOME:=sources/audiofile/0.2/} |
9 | | | 8 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://andromeda.68k.org/~michael/audiofile/ | | 10 | HOMEPAGE= http://andromeda.68k.org/~michael/audiofile/ |
12 | COMMENT= Sound library for SGI audio file | | 11 | COMMENT= Sound library for SGI audio file |
13 | | | 12 | |
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 13 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 15 | |
17 | GNU_CONFIGURE= YES | | 16 | GNU_CONFIGURE= YES |
18 | USE_LIBTOOL= YES | | 17 | USE_LIBTOOL= YES |
--- pkgsrc/audio/libaudiofile/distinfo 2009/12/01 10:44:02 1.13
+++ pkgsrc/audio/libaudiofile/distinfo 2010/04/12 19:04:58 1.14
| @@ -1,9 +1,8 @@ | | | @@ -1,9 +1,8 @@ |
1 | $NetBSD: distinfo,v 1.13 2009/12/01 10:44:02 drochner Exp $ | | 1 | $NetBSD: distinfo,v 1.14 2010/04/12 19:04:58 drochner Exp $ |
2 | | | 2 | |
3 | SHA1 (audiofile-0.2.6.tar.gz) = 94a6ab8e5122bc1971cf186e5a52d032811c9bc5 | | 3 | SHA1 (audiofile-0.2.7.tar.gz) = 1d8a5bb0ca63c7047436f136fb1fb98ea886e920 |
4 | RMD160 (audiofile-0.2.6.tar.gz) = b61fbc856768a5838ca5c0fad602f35205e8d037 | | 4 | RMD160 (audiofile-0.2.7.tar.gz) = 70327d38c6a9057045f5c59f67f45e2f6f9bf677 |
5 | Size (audiofile-0.2.6.tar.gz) = 374688 bytes | | 5 | Size (audiofile-0.2.7.tar.gz) = 502448 bytes |
6 | SHA1 (patch-aa) = 7c498a63fe055f1f7e16f45f655341a9b6708f71 | | | |
7 | SHA1 (patch-ab) = cd292a827aa18b9839305b2c62c3dbd526384430 | | 6 | SHA1 (patch-ab) = cd292a827aa18b9839305b2c62c3dbd526384430 |
8 | SHA1 (patch-ac) = fd2b8bb374b263b34a0e724c3e7de498f3ff2b7c | | 7 | SHA1 (patch-ae) = 6dc99026b3448f436a5ccf638598344018329661 |
9 | SHA1 (patch-ad) = 3558f3f83e322efcf2c2a4e7afbc144b084e99f6 | | 8 | SHA1 (patch-af) = d0d9b737bf6b3c5ea497ea16160fcee7aad4ffe2 |
$NetBSD: patch-ae,v 1.1 2010/04/12 19:04:58 drochner Exp $
see Ubuntu bug 327018
--- libaudiofile/util.c.orig 2010-01-26 19:56:24.000000000 +0000
+++ libaudiofile/util.c
@@ -343,10 +343,10 @@ int _af_format_sample_size_uncompressed
return size;
}
-float _af_format_sample_size (_AudioFormat *fmt, bool stretch3to4)
+double _af_format_sample_size (_AudioFormat *fmt, bool stretch3to4)
{
int compressionIndex;
- float squishFactor;
+ double squishFactor;
compressionIndex = _af_compression_index_from_id(fmt->compressionType);
squishFactor = _af_compression[compressionIndex].squishFactor;
@@ -361,10 +361,10 @@ int _af_format_frame_size_uncompressed (
fmt->channelCount;
}
-float _af_format_frame_size (_AudioFormat *fmt, bool stretch3to4)
+double _af_format_frame_size (_AudioFormat *fmt, bool stretch3to4)
{
int compressionIndex;
- float squishFactor;
+ double squishFactor;
compressionIndex = _af_compression_index_from_id(fmt->compressionType);
squishFactor = _af_compression[compressionIndex].squishFactor;
$NetBSD: patch-af,v 1.1 2010/04/12 19:04:58 drochner Exp $
--- libaudiofile/util.h.orig 2010-01-26 19:55:15.000000000 +0000
+++ libaudiofile/util.h
@@ -55,9 +55,9 @@ _Track *_af_filehandle_get_track (AFfile
bool _af_unique_ids (int *ids, int nids, char *idname, int iderr);
-float _af_format_frame_size (_AudioFormat *format, bool stretch3to4);
+double _af_format_frame_size (_AudioFormat *format, bool stretch3to4);
int _af_format_frame_size_uncompressed (_AudioFormat *format, bool stretch3to4);
-float _af_format_sample_size (_AudioFormat *format, bool stretch3to4);
+double _af_format_sample_size (_AudioFormat *format, bool stretch3to4);
int _af_format_sample_size_uncompressed (_AudioFormat *format, bool stretch3to4);
status _af_set_sample_format (_AudioFormat *f, int sampleFormat, int sampleWidth);