Audio Capture 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 Audio Capture filter represents an audio capture device. It has one capture output pin and several input pins (one for each type of input on the card, such as Line In, Mic, CD, and MIDI).

This filter can work with more than one hardware device, so calling CoCreateInstance to create the filter does not work. Instead, use the System Device Enumerator. The System Device Enumerator returns a unique moniker for each device. The moniker's friendly name corresponds to the name of the device. (This is the name that appears in GraphEdit.) For more information, see Enumerating Devices and Filters.

Label Value
Filter Interfaces IAMAudioInputMixer, IAMFilterMiscFlags, IAMResourceControl, IBaseFilter, IPersistPropertyBag, ISpecifyPropertyPages
Input Pin Media Types MEDIATYPE_AnalogAudio, MEDIASUBTYPE_NULL
Input Pin Interfaces IAMAudioInputMixer, IMemInputPin, IPin, IQualityControl
Output Pin Media Types MEDIATYPE_Audio, MEDIASUBTYPE_NULL
Output Pin Interfaces IAMBufferNegotiation, IAMPushSource, IAMStreamConfig, IAMStreamControl, IKsPropertySet, IPin, IQualityControl
Filter CLSID Not applicable
Property Page CLSID CLSID_AudioInputMixerProperties
Executable qcap.dll
Merit MERIT_DO_NOT_USE
Filter Category CLSID_AudioInputDeviceCategory

 

Remarks

The input pins represent physical hardware connections and are never connected to other filters in DirectShow.

DirectShow Filters

Audio Capture