au88x0_eq.h 1.3 KB

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