Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Video Control is designed to shield applications from the complexities of TV tuning and filter-graph building on the PC. To perform tuning, the application obtains a tune request, which is an object that contains information about the network type, the channel, and so forth. The application passes the tune request to the Video Control's View command.
An application can retrieve a tune request from the Guide Store. Doing so gives the application complete independence from the details of the network type. As new network types are supported, the application will automatically support them without any changes. For that reason, it is recommended that applications obtain tune requests from the Guide Store.
An application can also create a tune request programmatically. The details of creating the request will depend on the network type, such as analog, ATSC, or DVB. This approach sacrifices network independence, but retains device independence. In other words, if the application creates an ATSC tune request, it will not function with a DVB network, but it work with different BDA-compliant tuner cards. For more information, see The Microsoft Unified Tuning Model.
Once the Video Control receives the tune request, it searches the local system for an appropriate input device. When the application calls Build or Run, the Video Control builds and configures the filter graph based on the selected input device. When the application calls Run, the Video Control renders the television.