diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-01-16 06:59:01 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 04:24:35 -0500 |
commit | f0283f45a04d5cf31512e5e390a38504d97e7a97 (patch) | |
tree | 0d49a192d47ac913a774bc7ff2899388efbeab88 /sound/pci | |
parent | 95b712965f0a50365cc0128dacc27acf562f2ff1 (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')
-rw-r--r-- | sound/pci/au88x0/au88x0_eq.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/pci/au88x0/au88x0_eq.h b/sound/pci/au88x0/au88x0_eq.h index 717544af58ad..474cd0046294 100644 --- a/sound/pci/au88x0/au88x0_eq.h +++ b/sound/pci/au88x0/au88x0_eq.h | |||
@@ -13,18 +13,16 @@ | |||
13 | typedef struct { | 13 | typedef struct { |
14 | u16 LeftCoefs[50]; //0x4 | 14 | u16 LeftCoefs[50]; //0x4 |
15 | u16 RightCoefs[50]; // 0x68 | 15 | u16 RightCoefs[50]; // 0x68 |
16 | u16 LeftGains[20]; //0xd0 | 16 | u16 LeftGains[10]; //0xd0 |
17 | u16 RightGains[20]; //0xe4 | 17 | u16 RightGains[10]; //0xe4 |
18 | } auxxEqCoeffSet_t; | 18 | } auxxEqCoeffSet_t; |
19 | 19 | ||
20 | typedef struct { | 20 | typedef struct { |
21 | u32 ptr_this00; /*CAsp4HwIO */ | ||
22 | s32 this04; /* How many filters for each side (default = 10) */ | 21 | s32 this04; /* How many filters for each side (default = 10) */ |
23 | s32 this08; /* inited to cero. Stereo flag? */ | 22 | s32 this08; /* inited to cero. Stereo flag? */ |
24 | } eqhw_t; | 23 | } eqhw_t; |
25 | 24 | ||
26 | typedef struct { | 25 | typedef struct { |
27 | u32 ptr_this00; /*CAsp4Core */ | ||
28 | eqhw_t this04; /* CHwEq */ | 26 | eqhw_t this04; /* CHwEq */ |
29 | u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */ | 27 | u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */ |
30 | u16 this0a; | 28 | u16 this0a; |
@@ -32,8 +30,7 @@ typedef struct { | |||
32 | u16 this0e; | 30 | u16 this0e; |
33 | 31 | ||
34 | s32 this10; /* How many gains are used for each side (right or left). */ | 32 | s32 this10; /* How many gains are used for each side (right or left). */ |
35 | u16 this14_array[32]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ | 33 | u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ |
36 | s32 this24; | ||
37 | s32 this28; /* flag related to EQ enabled or not. Gang flag ? */ | 34 | s32 this28; /* flag related to EQ enabled or not. Gang flag ? */ |
38 | s32 this54; /* SetBypass */ | 35 | s32 this54; /* SetBypass */ |
39 | s32 this58; | 36 | s32 this58; |