次の方法で共有


Using the Smart Tee Filter (Windows Embedded CE 6.0)

1/6/2010

If a capture filter has separate capture and preview pins, you can capture from one while previewing from the other. But if the filter has no preview pin, you can do the same thing by including the Smart Tee filter in the graph. This filter splits data from the capture pin into two identical streams, one for capture and one for preview.

Ee494004.576d2016-1ca5-4e2d-9065-ecccdbfd8841(en-US,WinEmbedded.60).gif

The ICaptureGraphBuilder2::RenderStream method automatically inserts the Smart Tee Filter if it is required. However, if you use IGraphBuilder Interface methods to build your graph instead of ICaptureGraphBuilder2::RenderStream, then you may need to insert the Smart Tee filter.

Before you render pins on the capture filter, check whether the filter has a preview pin. If it does not, and you wish to preview, add the Smart Tee filter to the graph and connect it to the capture pin on the capture filter.

See Also

Concepts

Advanced Capture Topics