head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2; locks; strict; comment @// @; 1.2 date 2011.11.30.20.52.46; author wiz; state dead; branches; next 1.1; 1.1 date 2011.11.29.19.39.30; author wiz; state Exp; branches; next ; desc @@ 1.2 log @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. @ text @$NetBSD: patch-libaudiofile_util.cpp,v 1.1 2011/11/29 19:39:30 wiz Exp $ see Ubuntu bug 327018 --- libaudiofile/util.cpp.orig 2011-05-31 18:04:50.000000000 +0000 +++ libaudiofile/util.cpp @@@@ -283,10 +283,10 @@@@ int _af_format_sample_size_uncompressed return size; } -float _af_format_sample_size (const AudioFormat *fmt, bool stretch3to4) +double _af_format_sample_size (const AudioFormat *fmt, bool stretch3to4) { int compressionIndex; - float squishFactor; + double squishFactor; compressionIndex = _af_compression_index_from_id(fmt->compressionType); squishFactor = _af_compression[compressionIndex].squishFactor; @@@@ -301,10 +301,10 @@@@ int _af_format_frame_size_uncompressed ( fmt->channelCount; } -float _af_format_frame_size (const AudioFormat *fmt, bool stretch3to4) +double _af_format_frame_size (const AudioFormat *fmt, bool stretch3to4) { int compressionIndex; - float squishFactor; + double squishFactor; compressionIndex = _af_compression_index_from_id(fmt->compressionType); squishFactor = _af_compression[compressionIndex].squishFactor; @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ @