brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 797cdae Raw
45 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef AU88X0_EQ_H3#define AU88X0_EQ_H4 5/***************************************************************************6 *            au88x0_eq.h7 *8 *  Definitions and constant data for the Aureal Hardware EQ.9 *10 *  Sun Jun  8 18:23:38 200311 *  Author: Manuel Jander (mjander@users.sourceforge.net)12 ****************************************************************************/13 14typedef struct {15	u16 LeftCoefs[50];	//0x416	u16 RightCoefs[50];	// 0x6817	u16 LeftGains[10];	//0xd018	u16 RightGains[10];	//0xe419} auxxEqCoeffSet_t;20 21typedef struct {22	s32 this04;		/* How many filters for each side (default = 10) */23	s32 this08;		/* inited to cero. Stereo flag? */24} eqhw_t;25 26typedef struct {27	eqhw_t this04;		/* CHwEq */28	u16 this08;		/* Bad codec flag ? SetBypassGain: bypass gain */29	u16 this0a;30	u16 this0c;		/* SetBypassGain: bypass gain when this28 is not set. */31	u16 this0e;32 33	s32 this10;		/* How many gains are used for each side (right or left). */34	u16 this14_array[10];	/* SetLeftGainsTarget: Left (and right?) EQ gains  */35	s32 this28;		/* flag related to EQ enabled or not. Gang flag ? */36	s32 this54;		/* SetBypass */37	s32 this58;38	s32 this5c;39	/*0x60 */ auxxEqCoeffSet_t coefset;40	/* 50 u16 word each channel. */41	u16 this130[20];	/* Left and Right gains */42} eqlzr_t;43 44#endif45