Rediger

Del via


WAVE Parser Filter

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WAVE Parser filter parses WAV-format audio data from .wav, .au, or .aif files. The upstream filter must be the Async File Source filter, URL File Source filter, or a compatible third-party asynchronous source filter that contains WAV audio data. The output stream is audio data, which you can connect directly to an audio rendering filter or to an intervening audio transform filter.

Label Value
Filter Interfaces IAMMediaContent, IBaseFilter, IPersistMediaPropertyBag
Input Pin Media Types Major type: MEDIATYPE_StreamThe following subtypes are valid:
  • MEDIASUBTYPE_AIFF
  • MEDIASUBTYPE_AU
  • MEDIASUBTYPE_WAVE
Input Pin Interfaces IPin, IQualityControl
Output Pin Media Types Major type: MEDIATYPE_AudioSubtype: MEDIASUBTYPE_PCM or other compression type. (See Audio Subtypes.)
Format type: FORMAT_WaveFormatEx
Output Pin Interfaces IPin, IMediaSeeking
Filter CLSID {D51BD5A1-7548-11cf-A520-0080C77EF58A}
Property Page CLSID No property page.
Executable quartz.dll
Merit MERIT_UNLIKELY
Filter Category CLSID_LegacyAmFilterCategory

 

Remarks

This filter supports the following file types:

  • WAVE (.wav)
  • AIFF and AIFF-C (.aif)
  • AU (.au)

However, it has the following limitations on the audio format:

  • The audio must be 8-bit or 16-bit linear PCM.
  • For AIFF-C files, the audio must be uncompressed, in big-endian byte order (compression type 'NONE').

DirectShow Filters