~ubuntu-branches/ubuntu/trusty/libsoxr/trusty

« back to all changes in this revision

Viewing changes to src/half_coefs.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2013-01-19 13:59:15 UTC
  • Revision ID: package-import@ubuntu.com-20130119135915-ig85015j5zwtf0rp
Tags: upstream-0.1.0
ImportĀ upstreamĀ versionĀ 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* SoX Resampler Library      Copyright (c) 2007-13 robs@users.sourceforge.net
 
2
 * Licence for this file: LGPL v2.1                  See LICENCE for details. */
 
3
 
 
4
#if defined __GNUC__
 
5
  #pragma GCC system_header
 
6
#elif defined __SUNPRO_C
 
7
  #pragma disable_warn
 
8
#elif defined _MSC_VER
 
9
  #pragma warning(push, 1)
 
10
#endif
 
11
 
 
12
static const sample_t half_fir_coefs_8[] = {
 
13
  0.3115465451887802, -0.08734497241282892, 0.03681452335604365,
 
14
  -0.01518925831569441, 0.005454118437408876, -0.001564400922162005,
 
15
  0.0003181701445034203, -3.48001341225749e-5,
 
16
};
 
17
 
 
18
static const sample_t half_fir_coefs_9[] = {
 
19
  0.3122703613711853, -0.08922155288172305, 0.03913974805854332,
 
20
  -0.01725059723447163, 0.006858970092378141, -0.002304518467568703,
 
21
  0.0006096426006051062, -0.0001132393923815236, 1.119795386287666e-5,
 
22
};
 
23
 
 
24
static const sample_t half_fir_coefs_10[] = {
 
25
  0.3128545521327376, -0.09075671986104322, 0.04109637155154835,
 
26
  -0.01906629512749895, 0.008184039342054333, -0.0030766775017262,
 
27
  0.0009639607022414314, -0.0002358552746579827, 4.025184282444155e-5,
 
28
  -3.629779111541012e-6,
 
29
};
 
30
 
 
31
static const sample_t half_fir_coefs_11[] = {
 
32
  0.3133358837508807, -0.09203588680609488, 0.04276515428384758,
 
33
  -0.02067356614745591, 0.00942253142371517, -0.003856330993895144,
 
34
  0.001363470684892284, -0.0003987400965541919, 9.058629923971627e-5,
 
35
  -1.428553070915318e-5, 1.183455238783835e-6,
 
36
};
 
37
 
 
38
static const sample_t half_fir_coefs_12[] = {
 
39
  0.3137392991811407, -0.0931182192961332, 0.0442050575271454,
 
40
  -0.02210391200618091, 0.01057473015666001, -0.00462766983973885,
 
41
  0.001793630226239453, -0.0005961819959665878, 0.0001631475979359577,
 
42
  -3.45557865639653e-5, 5.06188341942088e-6, -3.877010943315563e-7,
 
43
};
 
44
 
 
45
static const sample_t half_fir_coefs_13[] = {
 
46
  0.3140822554324578, -0.0940458550886253, 0.04545990399121566,
 
47
  -0.02338339450796002, 0.01164429409071052, -0.005380686021429845,
 
48
  0.002242915773871009, -0.000822047600000082, 0.0002572510962395222,
 
49
  -6.607320708956279e-5, 1.309926399120154e-5, -1.790719575255006e-6,
 
50
  1.27504961098836e-7,
 
51
};
 
52
 
 
53
#if defined __SUNPRO_C
 
54
  #pragma enable_warn
 
55
#elif defined _MSC_VER
 
56
  #pragma warning(pop)
 
57
#endif