[xiph-commits] r13631 - trunk/vorbis/lib
erikd at svn.xiph.org
erikd at svn.xiph.org
Sat Aug 25 18:17:25 PDT 2007
Author: erikd
Date: 2007-08-25 18:17:24 -0700 (Sat, 25 Aug 2007)
New Revision: 13631
Modified:
trunk/vorbis/lib/lookup_data.h
Log:
lib/lookup_data.h : Add ifdef around FROMdB_LOOKUP to prevent compiler warnings.
Modified: trunk/vorbis/lib/lookup_data.h
===================================================================
--- trunk/vorbis/lib/lookup_data.h 2007-08-26 00:38:33 UTC (rev 13630)
+++ trunk/vorbis/lib/lookup_data.h 2007-08-26 01:17:24 UTC (rev 13631)
@@ -98,6 +98,8 @@
#define FROMdB_SHIFT 5
#define FROMdB2_SHIFT 3
#define FROMdB2_MASK 31
+
+#ifdef FLOAT_LOOKUP
static float FROMdB_LOOKUP[FROMdB_LOOKUP_SZ]={
1.f, 0.6309573445f, 0.3981071706f, 0.2511886432f,
0.1584893192f, 0.1f, 0.06309573445f, 0.03981071706f,
@@ -120,6 +122,7 @@
0.7028699885f, 0.6928273125f, 0.6829281272f, 0.6731703824f,
0.6635520573f, 0.6540711597f, 0.6447257262f, 0.6355138211f,
};
+#endif
#ifdef INT_LOOKUP
More information about the commits
mailing list