blob: d61907d449f44491f283ceb3b884b4b044a2ee75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.6 2004/06/12 01:37:39 grant Exp $
--- audio.c.orig 2004-01-23 20:41:31.000000000 +1100
+++ audio.c
@@ -959,7 +959,7 @@ unsigned int audio_pcm_s32be(unsigned ch
}
}
-static
+static inline
unsigned char linear2mulaw(mad_fixed_t sample)
{
unsigned int sign, mulaw;
@@ -1000,7 +1000,7 @@ unsigned char linear2mulaw(mad_fixed_t s
return mulaw;
}
-static
+static inline
mad_fixed_t mulaw2linear(unsigned char mulaw)
{
int sign, segment, mantissa, value;
|