18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef AU88X0_EQ_H 38c2ecf20Sopenharmony_ci#define AU88X0_EQ_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/*************************************************************************** 68c2ecf20Sopenharmony_ci * au88x0_eq.h 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Definitions and constant data for the Aureal Hardware EQ. 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * Sun Jun 8 18:23:38 2003 118c2ecf20Sopenharmony_ci * Author: Manuel Jander (mjander@users.sourceforge.net) 128c2ecf20Sopenharmony_ci ****************************************************************************/ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_citypedef struct { 158c2ecf20Sopenharmony_ci u16 LeftCoefs[50]; //0x4 168c2ecf20Sopenharmony_ci u16 RightCoefs[50]; // 0x68 178c2ecf20Sopenharmony_ci u16 LeftGains[10]; //0xd0 188c2ecf20Sopenharmony_ci u16 RightGains[10]; //0xe4 198c2ecf20Sopenharmony_ci} auxxEqCoeffSet_t; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_citypedef struct { 228c2ecf20Sopenharmony_ci s32 this04; /* How many filters for each side (default = 10) */ 238c2ecf20Sopenharmony_ci s32 this08; /* inited to cero. Stereo flag? */ 248c2ecf20Sopenharmony_ci} eqhw_t; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_citypedef struct { 278c2ecf20Sopenharmony_ci eqhw_t this04; /* CHwEq */ 288c2ecf20Sopenharmony_ci u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */ 298c2ecf20Sopenharmony_ci u16 this0a; 308c2ecf20Sopenharmony_ci u16 this0c; /* SetBypassGain: bypass gain when this28 is not set. */ 318c2ecf20Sopenharmony_ci u16 this0e; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci s32 this10; /* How many gains are used for each side (right or left). */ 348c2ecf20Sopenharmony_ci u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ 358c2ecf20Sopenharmony_ci s32 this28; /* flag related to EQ enabled or not. Gang flag ? */ 368c2ecf20Sopenharmony_ci s32 this54; /* SetBypass */ 378c2ecf20Sopenharmony_ci s32 this58; 388c2ecf20Sopenharmony_ci s32 this5c; 398c2ecf20Sopenharmony_ci /*0x60 */ auxxEqCoeffSet_t coefset; 408c2ecf20Sopenharmony_ci /* 50 u16 word each channel. */ 418c2ecf20Sopenharmony_ci u16 this130[20]; /* Left and Right gains */ 428c2ecf20Sopenharmony_ci} eqlzr_t; 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci#endif 45