Microsoft DirectX 8.1 (C++)

Analog TV Tuning

The basic order of operations when controlling the TV tuner is as follows:

  1. If necessary, establish a video path from the tuner through a crossbar to the video digitizer (capture filter) using the IAMCrossbar interface on the Analog Video Crossbar filter.
  2. Call the IAMTuner::put_Mode method to set the tuner card to the type of broadcast to be received (TV, AM radio, FM radio, and so on).
  3. Set the country/region code with IAMTuner::put_CountryCode to establish the correct TV channel-to-frequency mappings. See International Analog TV Tuning for more information on country/region codes.
  4. For each input on the tuner, call IAMTVTuner::put_InputType to set the input type to cable or antenna. Use IAMTVTuner::put_ConnectInput to select one of the available tuner inputs.
  5. Call IAMTVTuner::get_TVFormat to retrieve the current video format, and then use this value to set the Capture Filter with a call to IAMAnalogVideoDecoder::put_TVFormat.
  6. Call IAMTuner::put_Channel to begin viewing.