aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/au88x0
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-16 12:59:01 +0100
committerJaroslav Kysela <perex@suse.cz>2006-03-22 10:24:35 +0100
commitf0283f45a04d5cf31512e5e390a38504d97e7a97 (patch)
tree0d49a192d47ac913a774bc7ff2899388efbeab88 /sound/pci/au88x0
parent95b712965f0a50365cc0128dacc27acf562f2ff1 (diff)
[ALSA] au88x0 - Fix structs for equalizer
Modules: au88x0 driver Fixed the structures for equalizer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0')
-rw-r--r--sound/pci/au88x0/au88x0_eq.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/pci/au88x0/au88x0_eq.h b/sound/pci/au88x0/au88x0_eq.h
index 717544af58a..474cd004629 100644
--- a/sound/pci/au88x0/au88x0_eq.h
+++ b/sound/pci/au88x0/au88x0_eq.h
@@ -13,18 +13,16 @@
typedef struct {
u16 LeftCoefs[50]; //0x4
u16 RightCoefs[50]; // 0x68
- u16 LeftGains[20]; //0xd0
- u16 RightGains[20]; //0xe4
+ u16 LeftGains[10]; //0xd0
+ u16 RightGains[10]; //0xe4
} auxxEqCoeffSet_t;
typedef struct {
- u32 ptr_this00; /*CAsp4HwIO */
s32 this04; /* How many filters for each side (default = 10) */
s32 this08; /* inited to cero. Stereo flag? */
} eqhw_t;
typedef struct {
- u32 ptr_this00; /*CAsp4Core */
eqhw_t this04; /* CHwEq */
u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */
u16 this0a;
@@ -32,8 +30,7 @@ typedef struct {
u16 this0e;
s32 this10; /* How many gains are used for each side (right or left). */
- u16 this14_array[32]; /* SetLeftGainsTarget: Left (and right?) EQ gains */
- s32 this24;
+ u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */
s32 this28; /* flag related to EQ enabled or not. Gang flag ? */
s32 this54; /* SetBypass */
s32 this58;