au88x0_eq.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef AU88X0_EQ_H
  3. #define AU88X0_EQ_H
  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 ([email protected])
  11. ****************************************************************************/
  12. typedef struct {
  13. u16 LeftCoefs[50]; //0x4
  14. u16 RightCoefs[50]; // 0x68
  15. u16 LeftGains[10]; //0xd0
  16. u16 RightGains[10]; //0xe4
  17. } auxxEqCoeffSet_t;
  18. typedef struct {
  19. s32 this04; /* How many filters for each side (default = 10) */
  20. s32 this08; /* inited to cero. Stereo flag? */
  21. } eqhw_t;
  22. typedef struct {
  23. eqhw_t this04; /* CHwEq */
  24. u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */
  25. u16 this0a;
  26. u16 this0c; /* SetBypassGain: bypass gain when this28 is not set. */
  27. u16 this0e;
  28. s32 this10; /* How many gains are used for each side (right or left). */
  29. u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */
  30. s32 this28; /* flag related to EQ enabled or not. Gang flag ? */
  31. s32 this54; /* SetBypass */
  32. s32 this58;
  33. s32 this5c;
  34. /*0x60 */ auxxEqCoeffSet_t coefset;
  35. /* 50 u16 word each channel. */
  36. u16 this130[20]; /* Left and Right gains */
  37. } eqlzr_t;
  38. #endif