Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef AU88X0_EQ_H |
| 2 | #define AU88X0_EQ_H |
| 3 | |
| 4 | /*************************************************************************** |
| 5 | * au88x0_eq.h |
| 6 | * |
| 7 | * Definitions and constant data for the Aureal Hardware EQ. |
| 8 | * |
| 9 | * Sun Jun 8 18:23:38 2003 |
| 10 | * Author: Manuel Jander (mjander@users.sourceforge.net) |
| 11 | ****************************************************************************/ |
| 12 | |
| 13 | typedef struct { |
| 14 | u16 LeftCoefs[50]; //0x4 |
| 15 | u16 RightCoefs[50]; // 0x68 |
Takashi Iwai | f0283f4 | 2006-01-16 12:59:01 +0100 | [diff] [blame] | 16 | u16 LeftGains[10]; //0xd0 |
| 17 | u16 RightGains[10]; //0xe4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | } auxxEqCoeffSet_t; |
| 19 | |
| 20 | typedef struct { |
Takashi Iwai | 97c67b6 | 2006-01-13 17:16:29 +0100 | [diff] [blame] | 21 | s32 this04; /* How many filters for each side (default = 10) */ |
| 22 | s32 this08; /* inited to cero. Stereo flag? */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | } eqhw_t; |
| 24 | |
| 25 | typedef struct { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | eqhw_t this04; /* CHwEq */ |
Takashi Iwai | 97c67b6 | 2006-01-13 17:16:29 +0100 | [diff] [blame] | 27 | u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */ |
| 28 | u16 this0a; |
| 29 | u16 this0c; /* SetBypassGain: bypass gain when this28 is not set. */ |
| 30 | u16 this0e; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
Takashi Iwai | 97c67b6 | 2006-01-13 17:16:29 +0100 | [diff] [blame] | 32 | s32 this10; /* How many gains are used for each side (right or left). */ |
Takashi Iwai | f0283f4 | 2006-01-16 12:59:01 +0100 | [diff] [blame] | 33 | u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ |
Takashi Iwai | 97c67b6 | 2006-01-13 17:16:29 +0100 | [diff] [blame] | 34 | s32 this28; /* flag related to EQ enabled or not. Gang flag ? */ |
| 35 | s32 this54; /* SetBypass */ |
| 36 | s32 this58; |
| 37 | s32 this5c; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | /*0x60 */ auxxEqCoeffSet_t coefset; |
| 39 | /* 50 u16 word each channel. */ |
| 40 | u16 this130[20]; /* Left and Right gains */ |
| 41 | } eqlzr_t; |
| 42 | |
| 43 | #endif |