Modified LOF handling to allow for C-band reception

This commit is contained in:
Klaus Schmidinger 2003-03-30 11:44:40 +02:00
parent 64d0ed856b
commit f79a442f44
3 changed files with 6 additions and 1 deletions

View File

@ -564,3 +564,6 @@ Florian Bartels <Florian.Bartels@envisage.de>
Sascha Volkenandt <sascha@akv-soft.de>
for helping to fix a faulty behaviour of the "Mute" key in case the channel display
is visible
Malcolm Caldwell <malcolm.caldwell@ntu.edu.au>
for modifying LOF handling to allow for C-band reception

View File

@ -2002,3 +2002,4 @@ Video Disk Recorder Revision History
- Fixed faulty behaviour of the "Mute" key in case the channel display is visible
(thanks to Florian Bartels for reporting this one and Sascha Volkenandt for
helping to fix it).
- Modified LOF handling to allow for C-band reception (thanks to Malcolm Caldwell).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.c 1.47 2003/03/23 15:18:40 kls Exp $
* $Id: dvbdevice.c 1.48 2003/03/30 11:43:14 kls Exp $
*/
#include "dvbdevice.h"
@ -196,6 +196,7 @@ bool cDvbTuner::SetFrontend(void)
CHECK(ioctl(fd_frontend, FE_SET_TONE, tone));
}
frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF
Frontend.frequency = frequency * 1000UL;
Frontend.inversion = fe_spectral_inversion_t(channel.Inversion());
Frontend.u.qpsk.symbol_rate = channel.Srate() * 1000UL;