aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/au88x0/au88x0_eqdata.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /sound/pci/au88x0/au88x0_eqdata.c
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'sound/pci/au88x0/au88x0_eqdata.c')
-rw-r--r--sound/pci/au88x0/au88x0_eqdata.c112
1 files changed, 112 insertions, 0 deletions
diff --git a/sound/pci/au88x0/au88x0_eqdata.c b/sound/pci/au88x0/au88x0_eqdata.c
new file mode 100644
index 000000000000..abf8d6ac4c15
--- /dev/null
+++ b/sound/pci/au88x0/au88x0_eqdata.c
@@ -0,0 +1,112 @@
1/* Data structs */
2
3static u16 asEqCoefsZeros[50] = {
4 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
5 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
6 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
8 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
12 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
13 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
14};
15
16static u16 asEqCoefsPipes[64] = {
17 0x0000, 0x0000,
18 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
19 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
20 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
21 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
22 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
23 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
24 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
25 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
26 0x0000, 0x0666, 0x0000, 0x0000, 0x066a,
27 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
28
29 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
30 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
31 0x0000, 0x0000
32};
33
34/* More coef sets can be found in the win2k "inf" file. */
35static auxxEqCoeffSet_t asEqCoefsNormal = {
36 .LeftCoefs = {
37 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
38 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
39 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
40 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
41 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
42 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
43 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
44 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
45 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
46 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
47
48 .RightCoefs = {
49 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
50 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
51 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
52 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
53 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
54 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
55 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
56 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
57 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
58 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
59
60 .LeftGains = {
61 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
62 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96},
63 .RightGains = {
64 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
65 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}
66};
67
68static u16 eq_gains_normal[20] = {
69 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
70 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
71 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
72 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96
73};
74
75/* _rodatab60 */
76static u16 eq_gains_zero[10] = {
77 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
78 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
79};
80
81/* _rodatab7c: ProgramPipe */
82static u16 eq_gains_current[12] = {
83 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
84 0x7fff,
85 0x7fff, 0x7fff, 0x7fff
86};
87
88/* _rodatab78 */
89static u16 eq_states_zero[2] = { 0x0000, 0x0000 };
90
91static u16 asEqOutStateZeros[48] = {
92 0x0000, 0x0000, 0x0000, 0x0000,
93 0x0000, 0x0000, 0x0000, 0x0000,
94 0x0000, 0x0000, 0x0000, 0x0000,
95 0x0000, 0x0000, 0x0000, 0x0000,
96 0x0000, 0x0000, 0x0000, 0x0000,
97 0x0000, 0x0000, 0x0000, 0x0000,
98 0x0000, 0x0000, 0x0000, 0x0000,
99 0x0000, 0x0000, 0x0000, 0x0000,
100 0x0000, 0x0000, 0x0000, 0x0000,
101 0x0000, 0x0000, 0x0000, 0x0000,
102 0x0000, 0x0000, 0x0000, 0x0000,
103 0x0000, 0x0000, 0x0000, 0x0000
104};
105
106/*_rodataba0:*/
107static long eq_levels[32] = {
108 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
109 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
110 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
112};