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.

122 lines
3.0 KiB

  1. /*--------------------------------------------------------------
  2. INTEL Corporation Proprietary Information
  3. This listing is supplied under the terms of a license agreement
  4. with INTEL Corporation and may not be copied nor disclosed
  5. except in accordance with the terms of that agreement.
  6. Copyright (c) 1996 Intel Corporation.
  7. All rights reserved.
  8. $Workfile: iamacset.h $
  9. $Revision: 1.1 $
  10. $Date: 10 Dec 1996 15:35:20 $
  11. $Author: MDEISHER $
  12. --------------------------------------------------------------
  13. iamacset.h
  14. The generic ActiveMovie audio compression filter settings
  15. interface header.
  16. --------------------------------------------------------------*/
  17. ////////////////////////////////////////////////////////////////////
  18. // ICodecSettings: Basic codec settings interface
  19. //
  20. // This interface is exported and used by the code in amacodec.cpp.
  21. //
  22. // {AEF332D0-46E6-11d0-9DA0-00AA00AF3494}
  23. DEFINE_GUID(IID_ICodecSettings,
  24. 0xaef332d0, 0x46e6, 0x11d0, 0x9d, 0xa0, 0x0, 0xaa, 0x0, 0xaf, 0x34, 0x94);
  25. DECLARE_INTERFACE_(ICodecSettings, IUnknown)
  26. {
  27. // Compare these with the functions in class CMyCodec
  28. STDMETHOD(get_Transform)
  29. ( THIS_
  30. int *transform // [out] transformation type
  31. ) PURE;
  32. STDMETHOD(put_Transform)
  33. ( THIS_
  34. int transform // [in] transformation type
  35. ) PURE;
  36. STDMETHOD(get_InputBufferSize)
  37. ( THIS_
  38. int *numbytes // [out] input buffer size
  39. ) PURE;
  40. STDMETHOD(put_InputBufferSize)
  41. ( THIS_
  42. int numbytes // [out] input buffer size
  43. ) PURE;
  44. STDMETHOD(get_OutputBufferSize)
  45. ( THIS_
  46. int *numbytes // [out] output buffer size
  47. ) PURE;
  48. STDMETHOD(put_OutputBufferSize)
  49. ( THIS_
  50. int numbytes // [out] output buffer size
  51. ) PURE;
  52. STDMETHOD(put_InputMediaSubType)
  53. ( THIS_
  54. REFCLSID rclsid // [in] output mediasubtype guid
  55. ) PURE;
  56. STDMETHOD(put_OutputMediaSubType)
  57. ( THIS_
  58. REFCLSID rclsid // [in] output mediasubtype guid
  59. ) PURE;
  60. STDMETHOD(get_Channels)
  61. ( THIS_
  62. int *channels, // [out] number of channels
  63. THIS_
  64. int index // [in] enumeration index
  65. ) PURE;
  66. STDMETHOD(put_Channels)
  67. ( THIS_
  68. int channels // [in] number of channels
  69. ) PURE;
  70. STDMETHOD(get_SampleRate)
  71. ( THIS_
  72. int *samprate, // [out] sample rate
  73. THIS_
  74. int index // [in] enumeration index
  75. ) PURE;
  76. STDMETHOD(put_SampleRate)
  77. ( THIS_
  78. int samprate // [in] sample rate
  79. ) PURE;
  80. STDMETHOD(ReleaseCaps)
  81. (
  82. ) PURE;
  83. virtual BOOL(IsUnPlugged)
  84. (
  85. ) PURE;
  86. };
  87. /*
  88. //$Log: K:\proj\mycodec\quartz\vcs\iamacset.h_v $
  89. ;//
  90. ;// Rev 1.1 10 Dec 1996 15:35:20 MDEISHER
  91. ;//
  92. ;// added ifdef DEFGLOBAL and prototype.
  93. ;//
  94. ;// Rev 1.0 09 Dec 1996 09:05:32 MDEISHER
  95. ;// Initial revision.
  96. */