Revision de53ce58

View differences:

src/dvbctuneparams.cpp
105 105
  for (int i = 0; i < 3; i++) {
106 106
    int rc = tune_it(frontendFD, 
107 107
		     0,		// old fd_sec 
108
		     freq / 1000, 
108
		     freq, 
109 109
		     sr,       	// Symbol Rate for DVB-C or DVB-S 
110 110
		     0,		// Polarity 
111 111
		     -1,	// Tone  
src/tune.c
570 570
    case FE_QAM:
571 571
      fprintf(stderr,"tuning DVB-C to %d, srate=%d\n",freq,srate);
572 572
#ifdef NEWSTRUCT
573
      feparams.frequency=freq;
574
      feparams.inversion=INVERSION_OFF;
573
      feparams.frequency = freq;
574
      feparams.inversion = specInv;
575 575
      feparams.u.qam.symbol_rate = srate;
576
      feparams.u.qam.fec_inner = FEC_AUTO;
577
      feparams.u.qam.modulation = QAM_64;
576
      feparams.u.qam.fec_inner = HP_CodeRate;
577
      feparams.u.qam.modulation = modulation;
578 578
#else
579
      feparams.Frequency=freq;
580
      feparams.Inversion=INVERSION_OFF;
579
      feparams.Frequency = freq;
580
      feparams.Inversion = specInv;
581 581
      feparams.u.qam.SymbolRate = srate;
582
      feparams.u.qam.FEC_inner = FEC_AUTO;
583
      feparams.u.qam.QAM = QAM_64;
582
      feparams.u.qam.FEC_inner = HP_CodeRate;
583
      feparams.u.qam.QAM = modulation;
584 584
#endif
585 585
      break;
586 586
    default:

Also available in: Unified diff