Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/sound/pci/au88x0/au88x0_a3ddata.c
26451 views
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
/***************************************************************************
3
* au88x0_a3ddata.c
4
*
5
* Wed Nov 19 21:11:32 2003
6
* Copyright 2003 mjander
7
* [email protected]
8
****************************************************************************/
9
10
/*
11
*/
12
13
/* Constant initializer values. */
14
15
static const a3d_Hrtf_t A3dHrirZeros = {
16
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
17
0, 0, 0,
18
0, 0, 0,
19
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
20
0, 0, 0,
21
0, 0, 0
22
};
23
24
static __maybe_unused const a3d_Hrtf_t A3dHrirImpulse = {
25
0x7fff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
26
0, 0, 0,
27
0, 0, 0, 0,
28
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
29
0, 0, 0,
30
0, 0, 0
31
};
32
33
static __maybe_unused const a3d_Hrtf_t A3dHrirOnes = {
34
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
35
0x7fff,
36
0x7fff,
37
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
38
0x7fff,
39
0x7fff,
40
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
41
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
42
0x7fff,
43
0x7fff,
44
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
45
0x7fff,
46
0x7fff,
47
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff
48
};
49
50
static __maybe_unused const a3d_Hrtf_t A3dHrirSatTest = {
51
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
52
0x7fff,
53
0x7fff,
54
0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001,
55
0x8001,
56
0x8001,
57
0x7fff, 0x0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
58
0, 0, 0,
59
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
60
};
61
62
static __maybe_unused const a3d_Hrtf_t A3dHrirDImpulse = {
63
0, 0x7fff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
64
0, 0, 0,
65
0, 0, 0, 0,
66
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
67
0, 0, 0,
68
0, 0, 0
69
};
70
71
static const a3d_ItdDline_t A3dItdDlineZeros = {
72
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
74
};
75
76
static short const GainTCDefault = 0x300;
77
static short const ItdTCDefault = 0x0C8;
78
static short const HrtfTCDefault = 0x147;
79
static short const CoefTCDefault = 0x300;
80
81