共用方式為


Audio Capture Filter

 
Microsoft DirectShow 9.0

Audio Capture Filter

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.

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.

See Also