|Microsoft DirectShow 9.0|
The IAMCrossbar interface routes signals from an analog or digital source to a video capture filter.
This interface is implemented by the Analog Video Crossbar Filter. The Analog Video Crossbar filter is modeled after a general switching matrix, with n inputs and m outputs. For example, a video card might have two external connectors: a coaxial connector for TV, and an S-video input. These would be represented as input pins on the filter. To select one of the inputs, an application would use the IAMCrossbar interface to "route" an input pin to the filter's output pin, by calling the IAMCrossbar::Route method.
In addition to the methods inherited from IUnknown, the IAMCrossbar interface exposes the following methods.
|CanRoute||Queries whether a specified input pin can be routed to a specified output pin.|
|get_CrossbarPinInfo||Retrieves information about a specified pin.|
|get_IsRoutedTo||Retrieves the input pin that is currently routed to the specified output pin.|
|get_PinCounts||Retrieves the number of input and output pins on the crossbar filter.|
|Route||Routes an input pin to an output pin.|
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.