1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added maximum SNR value for PCTV Systems nanoStick T2 290e

This commit is contained in:
Klaus Schmidinger 2012-12-30 13:10:44 +01:00
parent 811078a0fe
commit 2d850b14e2
4 changed files with 14 additions and 7 deletions

View File

@ -2440,6 +2440,7 @@ Anssi Hannula <anssi.hannula@gmail.com>
Antti Hartikainen <ami+vdr@ah.fi> Antti Hartikainen <ami+vdr@ah.fi>
for updating 'S13E' in 'sources.conf' for updating 'S13E' in 'sources.conf'
for adding maximum SNR value for PCTV Systems nanoStick T2 290e
Bernd Melcher <bernd@bernd-melcher.de> Bernd Melcher <bernd@bernd-melcher.de>
for reporting a problem with the 'servicedemo' plugin having no PLUGIN macro for reporting a problem with the 'servicedemo' plugin having no PLUGIN macro

View File

@ -7493,3 +7493,8 @@ Video Disk Recorder Revision History
Endriss). You may need to adjust your DVBDIR setting in Make.config, in case you Endriss). You may need to adjust your DVBDIR setting in Make.config, in case you
use it. use it.
- Added maximum SNR value for PCTV Systems PCTV 73ESE (thanks to Cedric Dewijs). - Added maximum SNR value for PCTV Systems PCTV 73ESE (thanks to Cedric Dewijs).
2012-12-30: Version 1.7.36
- Added maximum SNR value for PCTV Systems nanoStick T2 290e (thanks to Antti
Hartikainen).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.h 2.59 2012/12/27 09:56:56 kls Exp $ * $Id: config.h 2.60 2012/12/30 13:08:41 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -22,13 +22,13 @@
// VDR's own version number: // VDR's own version number:
#define VDRVERSION "1.7.35" #define VDRVERSION "1.7.36"
#define VDRVERSNUM 10735 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10736 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: // The plugin API's version number:
#define APIVERSION "1.7.35" #define APIVERSION "1.7.36"
#define APIVERSNUM 10735 // Version * 10000 + Major * 100 + Minor #define APIVERSNUM 10736 // Version * 10000 + Major * 100 + Minor
// When loading plugins, VDR searches them by their APIVERSION, which // When loading plugins, VDR searches them by their APIVERSION, which
// may be smaller than VDRVERSION in case there have been no changes to // may be smaller than VDRVERSION in case there have been no changes to

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: dvbdevice.c 2.76 2012/12/30 11:27:39 kls Exp $ * $Id: dvbdevice.c 2.77 2012/12/30 13:08:41 kls Exp $
*/ */
#include "dvbdevice.h" #include "dvbdevice.h"
@ -632,7 +632,8 @@ int cDvbTuner::GetSignalQuality(void) const
// special treatment to map their Snr value into the range 0...0xFFFF. // special treatment to map their Snr value into the range 0...0xFFFF.
switch (subsystemId) { switch (subsystemId) {
case 0x13C21019: MaxSnr = 200; break; // TT-budget S2-3200 (DVB-S/DVB-S2) case 0x13C21019: MaxSnr = 200; break; // TT-budget S2-3200 (DVB-S/DVB-S2)
case 0x20130245: MaxSnr = 255; break; // PCTV Systems PCTV 73ESE case 0x20130245: // PCTV Systems PCTV 73ESE
case 0x2013024F: MaxSnr = 255; break; // PCTV Systems nanoStick T2 290e
} }
int a = int(Snr) * 100 / MaxSnr; int a = int(Snr) * 100 / MaxSnr;
int b = 100 - (Unc * 10 + (Ber / 256) * 5); int b = 100 - (Unc * 10 + (Ber / 256) * 5);