Lines 329-335
Link Here
|
329 |
void ClearEventQueue(void) const; |
329 |
void ClearEventQueue(void) const; |
330 |
bool GetFrontendStatus(fe_status_t &Status) const; |
330 |
bool GetFrontendStatus(fe_status_t &Status) const; |
331 |
cPositioner *GetPositioner(void); |
331 |
cPositioner *GetPositioner(void); |
332 |
void ExecuteDiseqc(const cDiseqc *Diseqc, unsigned int *Frequency); |
332 |
void ExecuteDiseqc(const cDiseqc *Diseqc, int *Frequency); |
333 |
void ResetToneAndVoltage(void); |
333 |
void ResetToneAndVoltage(void); |
334 |
bool SetFrontend(void); |
334 |
bool SetFrontend(void); |
335 |
virtual void Action(void); |
335 |
virtual void Action(void); |
Lines 696-702
Link Here
|
696 |
return positioner; |
696 |
return positioner; |
697 |
} |
697 |
} |
698 |
|
698 |
|
699 |
void cDvbTuner::ExecuteDiseqc(const cDiseqc *Diseqc, unsigned int *Frequency) |
699 |
void cDvbTuner::ExecuteDiseqc(const cDiseqc *Diseqc, int *Frequency) |
700 |
{ |
700 |
{ |
701 |
if (!lnbPowerTurnedOn) { |
701 |
if (!lnbPowerTurnedOn) { |
702 |
CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)); // must explicitly turn on LNB power |
702 |
CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)); // must explicitly turn on LNB power |
Lines 806-812
Link Here
|
806 |
|
806 |
|
807 |
SETCMD(DTV_DELIVERY_SYSTEM, frontendType); |
807 |
SETCMD(DTV_DELIVERY_SYSTEM, frontendType); |
808 |
if (frontendType == SYS_DVBS || frontendType == SYS_DVBS2) { |
808 |
if (frontendType == SYS_DVBS || frontendType == SYS_DVBS2) { |
809 |
unsigned int frequency = channel.Frequency(); |
809 |
int frequency = channel.Frequency(); |
810 |
if (Setup.DiSEqC) { |
810 |
if (Setup.DiSEqC) { |
811 |
if (const cDiseqc *diseqc = Diseqcs.Get(device->CardIndex() + 1, channel.Source(), frequency, dtp.Polarization(), &scr)) { |
811 |
if (const cDiseqc *diseqc = Diseqcs.Get(device->CardIndex() + 1, channel.Source(), frequency, dtp.Polarization(), &scr)) { |
812 |
frequency -= diseqc->Lof(); |
812 |
frequency -= diseqc->Lof(); |
Lines 829-835
Link Here
|
829 |
} |
829 |
} |
830 |
else { |
830 |
else { |
831 |
int tone = SEC_TONE_OFF; |
831 |
int tone = SEC_TONE_OFF; |
832 |
if (frequency < (unsigned int)Setup.LnbSLOF) { |
832 |
if (frequency < Setup.LnbSLOF) { |
833 |
frequency -= Setup.LnbFrequLo; |
833 |
frequency -= Setup.LnbFrequLo; |
834 |
tone = SEC_TONE_OFF; |
834 |
tone = SEC_TONE_OFF; |
835 |
} |
835 |
} |