mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
zapit: align to ddt
Origin commit data
------------------
Branch: ni/coolstream
Commit: fb4d8bdb86
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Origin message was:
------------------
- zapit: align to ddt
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1635,11 +1635,11 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
|||||||
//FIXME check scanProviders.size() !
|
//FIXME check scanProviders.size() !
|
||||||
t_satellite_position satellitePosition = scanProviders.begin()->first;
|
t_satellite_position satellitePosition = scanProviders.begin()->first;
|
||||||
printf("[zapit] tune to sat %s freq %d rate %d fec %d pol %d\n", name, TP.feparams.frequency, TP.feparams.symbol_rate, TP.feparams.fec_inner, TP.feparams.polarization);
|
printf("[zapit] tune to sat %s freq %d rate %d fec %d pol %d\n", name, TP.feparams.frequency, TP.feparams.symbol_rate, TP.feparams.fec_inner, TP.feparams.polarization);
|
||||||
|
live_fe->setInput(satellitePosition, TP.feparams.frequency, TP.feparams.polarization);
|
||||||
if (TP.feparams.delsys == DVB_S)
|
if (TP.feparams.delsys == DVB_S)
|
||||||
TP.feparams.rolloff = ROLLOFF_35;
|
TP.feparams.rolloff = ROLLOFF_35;
|
||||||
if (TP.feparams.delsys == DVB_S2)
|
if (TP.feparams.delsys == DVB_S2)
|
||||||
TP.feparams.rolloff = ROLLOFF_AUTO;
|
TP.feparams.rolloff = ROLLOFF_AUTO;
|
||||||
live_fe->setInput(satellitePosition, TP.feparams.frequency, TP.feparams.polarization);
|
|
||||||
live_fe->driveToSatellitePosition(satellitePosition);
|
live_fe->driveToSatellitePosition(satellitePosition);
|
||||||
} else if (CFrontend::isCable(TP.feparams.delsys)) {
|
} else if (CFrontend::isCable(TP.feparams.delsys)) {
|
||||||
printf("[zapit] tune to cable %s freq %d rate %d fec %d\n", name, TP.feparams.frequency, TP.feparams.symbol_rate, TP.feparams.fec_inner);
|
printf("[zapit] tune to cable %s freq %d rate %d fec %d\n", name, TP.feparams.frequency, TP.feparams.symbol_rate, TP.feparams.fec_inner);
|
||||||
|
Reference in New Issue
Block a user