summaryrefslogtreecommitdiff
path: root/audio/libaudiofile/patches/patch-af
blob: d0be102d29564398083be95190a2c1e8d2e27f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-af,v 1.2 2011/11/29 19:39:30 wiz Exp $

see Ubuntu bug 327018

--- libaudiofile/util.h.orig	2011-05-31 18:04:50.000000000 +0000
+++ libaudiofile/util.h
@@ -54,9 +54,9 @@ bool _af_pv_getptr (AUpvlist pvlist, int
 
 bool _af_unique_ids (const int *ids, int nids, const char *idname, int iderr);
 
-float _af_format_frame_size (const AudioFormat *format, bool stretch3to4);
+double _af_format_frame_size (const AudioFormat *format, bool stretch3to4);
 int _af_format_frame_size_uncompressed (const AudioFormat *format, bool stretch3to4);
-float _af_format_sample_size (const AudioFormat *format, bool stretch3to4);
+double _af_format_sample_size (const AudioFormat *format, bool stretch3to4);
 int _af_format_sample_size_uncompressed (const AudioFormat *format, bool stretch3to4);
 
 status _af_set_sample_format (AudioFormat *f, int sampleFormat, int sampleWidth);