au88x0_eq.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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[20]; //0xd0
  15. u16 RightGains[20]; //0xe4
  16. } auxxEqCoeffSet_t;
  17. typedef struct {
  18. unsigned int *this00; /*CAsp4HwIO */
  19. long this04; /* How many filters for each side (default = 10) */
  20. long this08; /* inited to cero. Stereo flag? */
  21. } eqhw_t;
  22. typedef struct {
  23. unsigned int *this00; /*CAsp4Core */
  24. eqhw_t this04; /* CHwEq */
  25. short this08; /* Bad codec flag ? SetBypassGain: bypass gain */
  26. short this0a;
  27. short this0c; /* SetBypassGain: bypass gain when this28 is not set. */
  28. short this0e;
  29. long this10; /* How many gains are used for each side (right or left). */
  30. u16 this14[32]; /* SetLeftGainsTarget: Left (and right?) EQ gains */
  31. long this24;
  32. long this28; /* flag related to EQ enabled or not. Gang flag ? */
  33. long this54; /* SetBypass */
  34. long this58;
  35. long this5c;
  36. /*0x60 */ auxxEqCoeffSet_t coefset;
  37. /* 50 u16 word each channel. */
  38. u16 this130[20]; /* Left and Right gains */
  39. } eqlzr_t;
  40. #endif