5d417812eb
and explicit specializations want template <> in g++4.
30 lines
886 B
Plaintext
30 lines
886 B
Plaintext
$OpenBSD: patch-src_AuSampleValues_cc,v 1.1 2010/05/24 08:31:17 espie Exp $
|
|
--- src/AuSampleValues.cc.orig Mon May 24 03:49:57 2010
|
|
+++ src/AuSampleValues.cc Mon May 24 03:50:14 2010
|
|
@@ -21,17 +21,25 @@
|
|
#include "AuSampleValues.h"
|
|
|
|
// AuMuLawSampleValue
|
|
+template <>
|
|
const BYTE AuMuLawSampleValue::MinValue = 0 ;
|
|
+template <>
|
|
const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ;
|
|
|
|
// AuPCM8SampleValue
|
|
+template <>
|
|
const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ;
|
|
+template <>
|
|
const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ;
|
|
|
|
// AuPCM16SampleValue
|
|
+template <>
|
|
const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ;
|
|
+template <>
|
|
const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ;
|
|
|
|
// AuPCM32SampleValue
|
|
+template <>
|
|
const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ;
|
|
+template <>
|
|
const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;
|