[MPlayer-cvslog] r27291 - trunk/libaf/af_hrtf.h
reimar
subversion at mplayerhq.hu
Tue Jul 15 21:08:09 CEST 2008
Author: reimar
Date: Tue Jul 15 21:08:09 2008
New Revision: 27291
Log:
Make af_hrtf tables static const
Modified:
trunk/libaf/af_hrtf.h
Modified: trunk/libaf/af_hrtf.h
==============================================================================
--- trunk/libaf/af_hrtf.h (original)
+++ trunk/libaf/af_hrtf.h Tue Jul 15 21:08:09 2008
@@ -88,7 +88,7 @@ How to generate these data:
/* Center front (-5 degree) - not 0 degree in order to create a clear
front image from a finite distance */
-float cf_filt[128] = {
+static const float cf_filt[128] = {
-0.00008638082319075036, 0.0003198059946385229,
-0.0005010631339162132, 0.0011424741331126876,
-0.001584220794688753, 0.001742715363246275,
@@ -155,7 +155,7 @@ float cf_filt[128] = {
-0.005469203016468759, -0.004355784273189485
};
/* Front, same side (30 degree) */
-float af_filt[128] = {
+static const float af_filt[128] = {
-0.004140580614755493, 0.005790934614385445,
0.003318916682081112, 0.014257145544366063,
0.007328442487127339, -0.06550381777876194,
@@ -222,7 +222,7 @@ float af_filt[128] = {
-0.0005083025643192044, 0.00035096963769606926
};
/* Front, opposite (-30 degree) */
-float of_filt[128] = {
+static const float of_filt[128] = {
-0.000013472538374193126, -0.00008048061877079751,
0.000043927265781258155, -0.000017931700794858892,
-0.000034774602476112886, -0.00009576223008735474,
@@ -289,7 +289,7 @@ float of_filt[128] = {
-0.0013726264946164232, -0.0020075119315034313
};
/* Rear, same side (135 degree) */
-float ar_filt[128] = {
+static const float ar_filt[128] = {
0.004573315040810066, 0.0013592578059426913,
0.01553271930902704, -0.0002356117224941317,
-0.05746098219774702, 0.03430688963370445,
@@ -356,7 +356,7 @@ float ar_filt[128] = {
-0.0026884314856593368, -0.004084181815125924
};
/* Rear, opposite (-135 degree) */
-float or_filt[128] = {
+static const float or_filt[128] = {
0.0001220944028243897, -0.000021785381808441314,
5.823057988603169e-6, -0.00001217768176447613,
-0.00006123604397345513, 5.574117262531134e-6,
@@ -423,7 +423,7 @@ float or_filt[128] = {
-0.001852908777923165, -0.002540339553144362
};
/* Center rear (180 degree) */
-float cr_filt[128] = {
+static const float cr_filt[128] = {
-0.00005989110716536726, -0.00022790291829128702,
0.0002659166098971966, -0.0003774772716776257,
0.0004540309551867803, -0.000420238187386368,
More information about the MPlayer-cvslog
mailing list