FireBirdLib - Topfield TMS PVR TAP Programming Library
isOnMainTuner.c
Go to the documentation of this file.
1#include "FBLib_EPG.h"
2
3bool isOnMainTuner(int SvcType, int SvcNum)
4{
6
7 int svcTypeMainTuner, svcNumMainTuner;
8 TYPE_TapChInfo chInfo1, chInfo2;
9
10 TAP_Channel_GetInfo(SvcType, SvcNum, &chInfo1);
11
12 TAP_Channel_GetCurrent(&svcTypeMainTuner, &svcNumMainTuner);
13 TAP_Channel_GetInfo(svcTypeMainTuner, svcNumMainTuner, &chInfo2);
14
15 TRACEEXIT();
16 return (chInfo1.satIdx == chInfo2.satIdx) && (chInfo1.freq == chInfo2.freq);
17}
bool isOnMainTuner(int SvcType, int SvcNum)
Definition: isOnMainTuner.c:3
#define TRACEEXIT()
Definition: libFireBird.h:1244
#define TRACEENTER()
Definition: libFireBird.h:1243