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.

82 lines
2.5 KiB

  1. //***************************************************************************
  2. //
  3. // DVDADO.H
  4. //
  5. // Author:
  6. // TOSHIBA [PCS](PSY) Satoshi Watanabe
  7. // Copyright (c) 1997 TOSHIBA CORPORATION
  8. //
  9. // Description:
  10. // 02/24/97 converted from VxD source
  11. // 03/09/97 converted C++ class
  12. //
  13. //***************************************************************************
  14. #ifndef __DVDADO_H__
  15. #define __DVDADO_H__
  16. class ADecoder {
  17. private:
  18. PUCHAR ioBase;
  19. ULONG AudioMode; // AC3, PCM, ...
  20. ULONG AudioFreq; // audio frequency
  21. ULONG AudioType; // audio type - analog, digital, ...
  22. BOOL AudioCopy; // audio copy
  23. ULONG AudioVolume;
  24. Dack *pDack;
  25. UCHAR INVERSE_BYTE( UCHAR uc );
  26. public:
  27. void init( const PDEVICE_INIT_INFO pDevInit );
  28. void SetParam( ULONG aMode, ULONG aFreq, ULONG aType, BOOL aCopy, Dack *pDack );
  29. // ***************************************************************************
  30. // T C 6 8 0 0 A F
  31. // ***************************************************************************
  32. void AUDIO_TC6800_INIT_PCM();
  33. void AUDIO_TC6800_INIT_AC3();
  34. void AUDIO_TC6800_INIT_MPEG();
  35. void AUDIO_TC6800_DATA_OFF();
  36. // ***************************************************************************
  37. // Z R 3 8 5 2 1
  38. // ***************************************************************************
  39. void AUDIO_ZR385_OUT( UCHAR val );
  40. void AUDIO_ZR385_DOWNLOAD( PUCHAR pData, ULONG size );
  41. void AUDIO_ZR38521_BOOT_AC3();
  42. void AUDIO_ZR38521_BOOT_MPEG();
  43. void AUDIO_ZR38521_BOOT_PCM();
  44. NTSTATUS AUDIO_ZR38521_CFG();
  45. NTSTATUS AUDIO_ZR38521_PCMX();
  46. NTSTATUS AUDIO_ZR38521_AC3();
  47. NTSTATUS AUDIO_ZR38521_MPEG1();
  48. NTSTATUS AUDIO_ZR38521_PLAY();
  49. NTSTATUS AUDIO_ZR38521_MUTE_OFF();
  50. NTSTATUS AUDIO_ZR38521_MUTE_ON();
  51. NTSTATUS AUDIO_ZR38521_STOP();
  52. NTSTATUS AUDIO_ZR38521_STOPF();
  53. NTSTATUS AUDIO_ZR38521_STCR();
  54. NTSTATUS AUDIO_ZR38521_VDSCR_ON( ULONG stc );
  55. NTSTATUS AUDIO_ZR38521_VDSCR_OFF( ULONG stc );
  56. NTSTATUS AUDIO_ZR38521_AVSYNC_OFF( ULONG stc );
  57. NTSTATUS AUDIO_ZR38521_AVSYNC_ON( ULONG stc );
  58. NTSTATUS AUDIO_ZR38521_STAT( PULONG pDiff );
  59. NTSTATUS AUDIO_ZR38521_KCOEF();
  60. void AUDIO_ZR38521_REPEAT_02();
  61. void AUDIO_ZR38521_REPEAT_16();
  62. NTSTATUS AUDIO_ZR38521_BFST( PULONG pErrCode );
  63. // ***************************************************************************
  64. // T C 9 4 2 5 F
  65. // ***************************************************************************
  66. void AUDIO_TC9425_INIT_DIGITAL();
  67. void AUDIO_TC9425_INIT_ANALOG();
  68. void AUDIO_TC9425_SET_VOLUME( ULONG vol );
  69. };
  70. #endif // __DVDADO_H__