Click to Rate and Give Feedback
MSDN
MSDN Library
Audio and Video
DirectShow
DirectShow Filters
 ACM Wrapper Filter
ACM Wrapper Filter

The ACM Wrapper filter enables Audio Compression Manager (ACM) codecs to join a filter graph. It can act either as a decompression filter or as a compression filter.

As a decompression filter, the ACM Wrapper appears in the "DirectShow Filters" category (CLSID_LegacyAmFilterCategory) and has a merit of MERIT_NORMAL. The connection media type on the input pin determines which codec the filter uses. Typically, the application does not need to add the filter to the filter graph; it is pulled in automatically by the Filter Graph Manager when needed. Decompression is only to PCM audio.

As a compression filter, the ACM Wrapper appears in the "Audio Compressors" category (CLSID_AudioCompressorCategory) and has a merit of MERIT_DO_NOT_USE. Each codec appears as a separate instance. For compression, you cannot directly create the filter with CoCreateInstance. Instead, you must use the system device enumerator. For more information, see Using the System Device Enumerator.

Filter interfacesIBaseFilter, IPersist, IPersistPropertyBag
Input pin media typesMEDIATYPE_Audio, MEDIASUBTYPE_NULL, FORMAT_WaveFormatEx
Input pin interfacesIMemInputPin, IPin, IQualityControl
Output pin media typesMEDIATYPE_Audio, MEDIASUBTYPE_PCM, FORMAT_WaveFormatEx.

Any combination of the following are possible:

  • Samples per second (kHz): 44.1, 22.05, 11.025, or 8.0.
  • Channels: Stereo or mono.
  • Bits per sample: 8 or 16.
Output pin interfacesIAMStreamConfig, IMediaPosition, IMediaSeeking, IPin, IQualityControl
Filter CLSIDCLSID_ACMWrapper
Property Page CLSIDNo property page.
ExecutableQuartz.dll
MeritMERIT_NORMAL or MERIT_DO_NOT_USE
Filter CategoryCLSID_LegacyAmFilterCategory or CLSID_AudioCompressorCategory

 

See Also

DirectShow Filters

Send comments about this topic to Microsoft

Build date: 10/19/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker