Share via


IAMTuner::put_Channel (Compact 2013)

3/26/2014

The put_Channel method sets the TV channel.

Syntax

HRESULT put_Channel(
  long lChannel,
  long lVideoSubChannel,
  long lAudioSubChannel
);

Parameters

  • lChannel
    [in] TV channel number.
  • lVideoSubChannel
    Predefined video subchannel value. Specify AMTUNER_SUBCHAN_NO_TUNE for no tuning or AMTUNER_SUBCHAN_DEFAULT for default subchannel. Meaningful only for satellite broadcasts.
  • lAudioSubChannel
    Predefined audio subchannel value. Specify AMTUNER_SUBCHAN_NO_TUNE for no tuning or AMTUNER_SUBCHAN_DEFAULT for default subchannel. Meaningful only for satellite broadcasts.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

This method handles the channel-to-frequency function call that converts the TV channel to a TV frequency. For a list of frequencies for channels, see International Analog TV Tuning.

Requirements

Header

dshow.h,
strmif.h

Library

Strmiids.lib

See Also

Reference

IAMTuner Interface