From 24b14f84806ce2f9e2d7a8aafa946db059bfeab1 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 15 Jul 2008 19:08:09 +0000 Subject: Make af_hrtf tables static const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27291 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af_hrtf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libaf/af_hrtf.h b/libaf/af_hrtf.h index 1a5c73e579..0ddc5b343e 100644 --- a/libaf/af_hrtf.h +++ b/libaf/af_hrtf.h @@ -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, -- cgit v1.2.3