Source code of Windows XP (NT5)
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.

44 lines
994 B

  1. //
  2. // MODULE : ZAC3.H
  3. // PURPOSE : Zoran AC3 related
  4. // AUTHOR : JBS Yadawa
  5. // CREATED : 7/20/96
  6. //
  7. // REVISION HISTORY :
  8. //
  9. // Copyright (C) 1996 SGS-THOMSON Microelectronics
  10. //
  11. //
  12. // DATE :
  13. //
  14. // COMMENTS :
  15. //
  16. #ifndef __ZAC3_H__
  17. #define __ZAC3_H__
  18. //ckw start
  19. //*************************************************
  20. // ZR38500 Command definitions
  21. //*************************************************
  22. #define AC3_AC3 0x85
  23. #define AC3_CFG 0x82
  24. #define AC3_PLAY 0x8A
  25. #define AC3_MUTE 0x8B
  26. #define AC3_UNMUTE 0x89
  27. #define AC3_STOP 0x8C
  28. #define AC3_STOPF 0x8D
  29. #define AC3_STAT 0x8E
  30. #define AC3_NOP 0x80
  31. #define AC3_VER 0x81
  32. //ckw end
  33. BOOL FARAPI InitAC3Decoder(void);
  34. BOOL FARAPI BootAC3(void); //ckw
  35. void FARAPI SendAC3Data(BYTE FAR *Data, DWORD Size);
  36. BYTE FARAPI SPISendSeq(int Num, BYTE FAR *Data);
  37. void FARAPI SPIReadBack(BYTE command, int numresult, BYTE *result); //ckw
  38. void FARAPI AC3Command(BYTE command); //ckw
  39. void FARAPI AudioTransfer(BOOL flag); //ckw
  40. #endif // __ZAC3_H__