共用方式為


WAVE Parser Filter

 
Microsoft DirectShow 9.0

WAVE Parser Filter

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.

Filter Interfaces IAMMediaContent, IBaseFilter, IPersistMediaPropertyBag
Input Pin Media Types Major type: MEDIATYPE_Stream

The following subtypes are valid:

  • MEDIASUBTYPE_AIFF
  • MEDIASUBTYPE_AU
  • MEDIASUBTYPE_WAVE
Input Pin Interfaces IPin, IQualityControl
Output Pin Media Types Major type: MEDIATYPE_Audio

Subtype: MEDIASUBTYPE_PCM or other compression type. (See Audio Subtypes.)

Format type: FORMAT_WaveFormatEx

Output Pin Interfaces IPin, IMediaSeeking
Filter CLSID CLSID_WAVEParser
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').

See Also