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.

58 lines
1.3 KiB

  1. #ifndef _AUFORMATS_H
  2. #define _AUFORMATS_H
  3. #include <pshpack8.h> /* Assume 8 byte packing throughout */
  4. #define WAVE_FORMAT_INTELG723 0x0400
  5. #define WAVE_FORMAT_MSG723 0x0042 /* Microsoft Corporation */
  6. #define WAVE_FORMAT_LH_CELP 0x0070
  7. #define WAVE_FORMAT_LH_SB8 0x0071
  8. #define WAVE_FORMAT_LH_SB12 0x0072
  9. #define WAVE_FORMAT_LH_SB16 0x0073
  10. #define WAVE_FORMAT_MSRT24 0x0082 /* Microsoft RT24 */
  11. #define WAVE_FORMAT_VOXWARE 0x0062
  12. #define ACMDM_LH_DATA_PACKAGING (ACMDM_USER + 1)
  13. // lParam1 when sending ACMDM_LH_DATA_PACKAGING
  14. enum
  15. {
  16. LH_PACKET_DATA_NULL, // uninitialized
  17. LH_PACKET_DATA_FRAMED, // always aligned on frame boundary
  18. LH_PACKET_DATA_ANYTHING // do not assume alignment
  19. };
  20. #include <poppack.h> /* End byte packing */
  21. #pragma pack(1) // byte packing
  22. typedef struct msg723waveformat_tag {
  23. WAVEFORMATEX wfx;
  24. WORD wConfigWord;
  25. DWORD dwCodeword1;
  26. DWORD dwCodeword2;
  27. } MSG723WAVEFORMAT;
  28. typedef struct intelg723waveformat_tag {
  29. WAVEFORMATEX wfx;
  30. WORD wConfigWord;
  31. DWORD dwCodeword1;
  32. DWORD dwCodeword2;
  33. } INTELG723WAVEFORMAT;
  34. typedef struct tagVOXACM_WAVEFORMATEX
  35. {
  36. WAVEFORMATEX wfx;
  37. DWORD dwCodecId;
  38. DWORD dwMode;
  39. char szKey[72];
  40. } VOXACM_WAVEFORMATEX, *PVOXACM_WAVEFORMATEX, FAR *LPVOXACM_WAVEFORMATEX;
  41. #pragma pack()
  42. #endif