Mercurial > mplayer.hg
changeset 27259:92c2d9b9ea0f
Make af_hrtf tables static const
author | reimar |
---|---|
date | Tue, 15 Jul 2008 19:08:09 +0000 |
parents | 82fd0e4c93c9 |
children | 411fef000ff6 |
files | libaf/af_hrtf.h |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_hrtf.h Tue Jul 15 19:05:42 2008 +0000 +++ b/libaf/af_hrtf.h Tue Jul 15 19:08:09 2008 +0000 @@ -88,7 +88,7 @@ /* 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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,