aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/au88x0/au88x0_eq.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-13 11:16:29 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:23:32 -0500
commit97c67b65cbdfd19887450ae1b80ddbb54de9559d (patch)
treead92dc802a5146c8b86e2333118f0fc394dddcfb /sound/pci/au88x0/au88x0_eq.h
parent7a6c8ff1ef83df4ce44b586999e54966d8e5bda8 (diff)
[ALSA] au88x0 - 64bit arch fixes
Modules: au88x0 driver Fix the driver codes to run on 64bit architectures. The patch taken from ALSA BTS bug#1047. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0_eq.h')
-rw-r--r--sound/pci/au88x0/au88x0_eq.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/sound/pci/au88x0/au88x0_eq.h b/sound/pci/au88x0/au88x0_eq.h
index e49bc625c87..717544af58a 100644
--- a/sound/pci/au88x0/au88x0_eq.h
+++ b/sound/pci/au88x0/au88x0_eq.h
@@ -18,26 +18,26 @@ typedef struct {
18} auxxEqCoeffSet_t; 18} auxxEqCoeffSet_t;
19 19
20typedef struct { 20typedef struct {
21 unsigned int *this00; /*CAsp4HwIO */ 21 u32 ptr_this00; /*CAsp4HwIO */
22 long this04; /* How many filters for each side (default = 10) */ 22 s32 this04; /* How many filters for each side (default = 10) */
23 long this08; /* inited to cero. Stereo flag? */ 23 s32 this08; /* inited to cero. Stereo flag? */
24} eqhw_t; 24} eqhw_t;
25 25
26typedef struct { 26typedef struct {
27 unsigned int *this00; /*CAsp4Core */ 27 u32 ptr_this00; /*CAsp4Core */
28 eqhw_t this04; /* CHwEq */ 28 eqhw_t this04; /* CHwEq */
29 short this08; /* Bad codec flag ? SetBypassGain: bypass gain */ 29 u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */
30 short this0a; 30 u16 this0a;
31 short this0c; /* SetBypassGain: bypass gain when this28 is not set. */ 31 u16 this0c; /* SetBypassGain: bypass gain when this28 is not set. */
32 short this0e; 32 u16 this0e;
33 33
34 long this10; /* How many gains are used for each side (right or left). */ 34 s32 this10; /* How many gains are used for each side (right or left). */
35 u16 this14[32]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ 35 u16 this14_array[32]; /* SetLeftGainsTarget: Left (and right?) EQ gains */
36 long this24; 36 s32 this24;
37 long this28; /* flag related to EQ enabled or not. Gang flag ? */ 37 s32 this28; /* flag related to EQ enabled or not. Gang flag ? */
38 long this54; /* SetBypass */ 38 s32 this54; /* SetBypass */
39 long this58; 39 s32 this58;
40 long this5c; 40 s32 this5c;
41 /*0x60 */ auxxEqCoeffSet_t coefset; 41 /*0x60 */ auxxEqCoeffSet_t coefset;
42 /* 50 u16 word each channel. */ 42 /* 50 u16 word each channel. */
43 u16 this130[20]; /* Left and Right gains */ 43 u16 this130[20]; /* Left and Right gains */