Files
pkgsrc-ng/audio/madplay/patches/patch-ab
2013-09-26 17:14:40 +02:00

23 lines
493 B
Plaintext

$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;