Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.5 KiB

  1. //==========================================================================;
  2. //
  3. // TDA9850.H
  4. // WDM TVAudio MiniDriver.
  5. // AIW / AIWPro hardware platform.
  6. // Philips TDA9850 Stereo/SAP decoder Include Module.
  7. // Copyright (c) 1996 - 1998 ATI Technologies Inc. All Rights Reserved.
  8. //
  9. //==========================================================================;
  10. #ifndef _ATIAUDIO_TDA9850_H_
  11. #define _ATIAUDIO_TDA9850_H_
  12. enum
  13. {
  14. AUDIO_TDA9850_Reg_Control1 = 0x04,
  15. AUDIO_TDA9850_Reg_Control2,
  16. AUDIO_TDA9850_Reg_Control3,
  17. AUDIO_TDA9850_Reg_Control4,
  18. AUDIO_TDA9850_Reg_Align1,
  19. AUDIO_TDA9850_Reg_Align2,
  20. AUDIO_TDA9850_Reg_Align3
  21. };
  22. // Control3 register definitions
  23. #define AUDIO_TDA9850_Control_SAP 0x80
  24. #define AUDIO_TDA9850_Control_Stereo 0x40
  25. #define AUDIO_TDA9850_Control_SAP_Mute 0x10
  26. #define AUDIO_TDA9850_Control_Mute 0x08
  27. // Status register definitions
  28. #define AUDIO_TDA9850_Indicator_Stereo 0x20
  29. #define AUDIO_TDA9850_Indicator_SAP 0x40
  30. #define AUDIO_TDA9850_Control1_DefaultValue 0x0F // stereo 16
  31. #define AUDIO_TDA9850_Control2_DefaultValue 0x0F // sap 16
  32. #define AUDIO_TDA9850_Control3_DefaultValue AUDIO_TDA9850_Control_Stereo // stereo, no mute
  33. #define AUDIO_TDA9850_Control4_DefaultValue 0x07 // +2.5
  34. #define AUDIO_TDA9850_Align1_DefaultValue 0x00 // normal gain
  35. #define AUDIO_TDA9850_Align2_DefaultValue 0x00 // normal gain
  36. #define AUDIO_TDA9850_Align3_DefaultValue 0x03 // stereo decoder operation mode / nominal
  37. #endif // _ATIAUDIO_TDA9850_H_
  38.