aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-30 18:06:54 -0800
committerChris Robinson <[email protected]>2010-11-30 18:06:54 -0800
commite6e18732b55923caeddd04f7b427c2b94fd4346e (patch)
treeb3b03579e66fbceeb9ec39efa24ddb3561808d3a
parent3f8ae8f1cec86dbe19b13cafdffd76ff0da772cd (diff)
Make sure the muLaw sample encoder is inlined
-rw-r--r--OpenAL32/alBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 5b29bf03..048f795c 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -1104,7 +1104,7 @@ static __inline ALdouble Conv_ALdouble_ALmulaw(ALmulaw val)
{ return Conv_ALdouble_ALshort(DecodeMuLaw(val)); }
#define DECL_TEMPLATE(T) \
-static ALmulaw Conv_ALmulaw_##T(T val) \
+static __inline ALmulaw Conv_ALmulaw_##T(T val) \
{ return EncodeMuLaw(Conv_ALshort_##T(val)); }
DECL_TEMPLATE(ALbyte)