Adding Output Nodes with TopoEdit
In a topology, an output node represents a media sink that receives media data from a transform node and presents it for playback. The type of output node depends on the media type of the source node.
The following table shows the menu/toolbar command for adding an output node to the topology.
|Source media type||Menu/Toolbar Command||Description|
|Audio stream||On the Topology menu, click Add SAR.||Creates an output node for the Streaming Audio Renderer (SAR) that plays an audio stream through an audio device such as a sound card.|
|Video stream||On the Topology menu, click Add EVR.||Creates an output node for the enhanced video renderer (EVR) that displays frames for a video stream.|
|Custom media sink||
Creates an output node for the stream sink for a custom media source.
The custom sink must support CoCreateInstance so that the sink can be specified with a CLSID.
TopoEdit creates the specified output node. The Topology Pane shows the output node as a green box that shows the name of the stream sink.
For information about adding output nodes programmatically by using Media Foundation APIs, see Creating Output Nodes.