TAP_Channel_GetInfo

Topfield Documentation

int TAP_Channel_GetInfo(int chType, int chNum, TYPE_TapChInfo *chInfo)

It gets the information of the specified channel.

  • chType : Type of channel. It is defined in Tap.h.
  • chNum : Channel number.
  • chInfo : Channel information.
Return value : If 1, there is no error.

Additional Documentation

Despite the Topfield documentation, the return code is 1 if there is no error.

Also "chNum" is not the logical channel number, it is a number from 0..(MAX_TV_SERVICES-1) or 0..(MAX_RADIO_SERVICES-1) indexing into the PVRs internal table of channels.


The "tunerNum" information does not refer to the tuner in use, but (I think) to whether each tuner detected the channel at the last relevant scan.

The "freq" information does not seem to have any direct relationship to the RF frequency - this can be obtained with FireBird's "Flash" extensions.

EMJB