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.

137 lines
4.9 KiB

  1. //==========================================================================;
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. // PURPOSE.
  7. //
  8. // Copyright (c) 1992 - 1995 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // codec.rc
  13. //
  14. // Description:
  15. // This file contains the resources for the codec.
  16. //
  17. //
  18. //==========================================================================;
  19. #include <winres.h>
  20. #define VER_FILETYPE VFT_DLL
  21. #define VER_DESCRIPTION_STR "Microsoft G.723.1 CODEC for MSACM"
  22. #define VER_INTERNALNAME_STR "msg723"
  23. #define VER_ORIGNAME_STR "msg723.acm"
  24. #define VER_COPYRIGHT_STR "Copyright � Intel Corp. and Microsoft Corporation 1995-1999"
  25. #include <version.rc>
  26. //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
  27. //
  28. // resource id's
  29. //
  30. //
  31. //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
  32. #define IDS_ACM_DRIVER_SHORTNAME (1) // ACMDRIVERDETAILS.szShortName
  33. #define IDS_ACM_DRIVER_LONGNAME (2) // ACMDRIVERDETAILS.szLongName
  34. #define IDS_ACM_DRIVER_COPYRIGHT (3) // ACMDRIVERDETAILS.szCopyright
  35. #define IDS_ACM_DRIVER_LICENSING (4) // ACMDRIVERDETAILS.szLicensing
  36. #define IDS_ACM_DRIVER_FEATURES (5) // ACMDRIVERDETAILS.szFeatures
  37. #define IDS_FORMAT_DETAILS_MONO_8KHZ_5333BIT_S (6)
  38. #define IDS_FORMAT_DETAILS_MONO_8KHZ_5333BIT_SID (7)
  39. #define IDS_FORMAT_DETAILS_MONO_8KHZ_6400BIT_S (8)
  40. #define IDS_FORMAT_DETAILS_MONO_8KHZ_6400BIT_SID (9)
  41. #define IDS_ACM_DRIVER_TAG_NAME (20) // ACMFORMATTAGDETAILS.szFormatTag
  42. #ifdef G723_USECONFIG
  43. //
  44. // resource id's for the configuration dialog box
  45. //
  46. #define IDS_CONFIG_NORATES (30)
  47. #define IDS_CONFIG_ALLRATES (31)
  48. #define IDS_CONFIG_MONOONLY (32)
  49. #define IDS_CONFIG_STEREOONLY (33)
  50. #define IDS_CONFIG_MONOSTEREO (34)
  51. #define IDS_ERROR (35)
  52. #define IDS_ERROR_NOMEM (36)
  53. #define IDD_CONFIG RCID(100)
  54. #define IDC_BTN_AUTOCONFIG 1001
  55. #define IDC_BTN_HELP 1002
  56. #define IDC_COMBO_MAXRTENCODE 1003
  57. #define IDC_COMBO_MAXRTDECODE 1004
  58. #define IDC_STATIC1 1005
  59. #define IDC_STATIC2 1006
  60. #define IDC_STATIC3 1007
  61. #endif
  62. //
  63. //
  64. //
  65. //
  66. //
  67. STRINGTABLE MOVEABLE DISCARDABLE
  68. BEGIN
  69. IDS_ACM_DRIVER_SHORTNAME "Microsoft G.723.1"
  70. #ifdef DEBUG
  71. IDS_ACM_DRIVER_LONGNAME "Microsoft G.723.1 CODEC Debug"
  72. #else
  73. IDS_ACM_DRIVER_LONGNAME "Microsoft G.723.1 CODEC"
  74. #endif
  75. IDS_ACM_DRIVER_COPYRIGHT "Copyright \251 1996 Intel Corporation and Microsoft Corporation"
  76. IDS_ACM_DRIVER_LICENSING ""
  77. IDS_ACM_DRIVER_FEATURES "Compresses and decompresses G.723.1 audio data."
  78. IDS_ACM_DRIVER_TAG_NAME, "Microsoft G.723.1"
  79. IDS_FORMAT_DETAILS_MONO_8KHZ_5333BIT_S "8 kHz Mono, 5333 Bit/s"
  80. IDS_FORMAT_DETAILS_MONO_8KHZ_5333BIT_SID "8 kHz Mono, 5333 Bit/s + SID"
  81. IDS_FORMAT_DETAILS_MONO_8KHZ_6400BIT_S "8 kHz Mono, 6400 Bit/s"
  82. IDS_FORMAT_DETAILS_MONO_8KHZ_6400BIT_SID "8 kHz Mono, 6400 Bit/s + SID"
  83. #ifdef G723USECONFIG
  84. IDS_CONFIG_NORATES "No rates"
  85. IDS_CONFIG_ALLRATES "All rates"
  86. IDS_CONFIG_MONOONLY "%u Hz mono"
  87. IDS_CONFIG_STEREOONLY "%u Hz stereo"
  88. IDS_CONFIG_MONOSTEREO "%u Hz mono / %u Hz stereo"
  89. IDS_ERROR, "Microsoft G.723.1 Configuration Error"
  90. IDS_ERROR_NOMEM, "Not enough memory available for this task. Quit one or more applications to increase available memory, and then try again."
  91. #endif
  92. END
  93. //
  94. // Config dialog box
  95. //
  96. // Note: the 4L in the STYLE line un-bolds the text for Chicago.
  97. //
  98. #ifdef G723_USECONFIG
  99. IDD_CONFIG DIALOG DISCARDABLE 0, 0, 253, 121
  100. STYLE DS_MODALFRAME | 4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  101. CAPTION "Intel IMA ADPCM CODEC Configuration"
  102. FONT 8, "MS Shell Dlg"
  103. BEGIN
  104. DEFPUSHBUTTON "OK",IDOK,81,96,50,14
  105. PUSHBUTTON "Cancel",IDCANCEL,138,96,50,14
  106. PUSHBUTTON "&Auto-Configure",IDC_BTN_AUTOCONFIG,81,60,80,14
  107. PUSHBUTTON "&Help",IDC_BTN_HELP,195,96,50,14
  108. GROUPBOX "Maximum real-time conversion rate",IDC_STATIC1,9,6,236,80
  109. LTEXT "Compression:",IDC_STATIC2,21,26,50,8
  110. LTEXT "Decompression:",IDC_STATIC3,21,44,50,8
  111. COMBOBOX IDC_COMBO_MAXRTENCODE,81,24,151,73, CBS_DROPDOWNLIST |
  112. WS_VSCROLL | WS_TABSTOP
  113. COMBOBOX IDC_COMBO_MAXRTDECODE,81,42,151,73, CBS_DROPDOWNLIST |
  114. WS_VSCROLL | WS_TABSTOP
  115. END
  116. #endif