Skip to content

Commit

Permalink
[ALSA] au88x0 - Fix structs for equalizer
Browse files Browse the repository at this point in the history
Modules: au88x0 driver

Fixed the structures for equalizer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Mar 22, 2006
1 parent 95b7129 commit f0283f4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions sound/pci/au88x0/au88x0_eq.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,24 @@
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;
u16 this0c; /* SetBypassGain: bypass gain when this28 is not set. */
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;
Expand Down

0 comments on commit f0283f4

Please sign in to comment.