diff options
Diffstat (limited to 'audio/libaudiofile/patches/patch-ae')
-rw-r--r-- | audio/libaudiofile/patches/patch-ae | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/audio/libaudiofile/patches/patch-ae b/audio/libaudiofile/patches/patch-ae new file mode 100644 index 00000000000..18fb5c788b9 --- /dev/null +++ b/audio/libaudiofile/patches/patch-ae @@ -0,0 +1,32 @@ +$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; |