mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Added maximum SNR value for PCTV Systems nanoStick T2 290e
This commit is contained in:
		| @@ -2440,6 +2440,7 @@ Anssi Hannula <anssi.hannula@gmail.com> | ||||
|  | ||||
| Antti Hartikainen <ami+vdr@ah.fi> | ||||
|  for updating 'S13E' in 'sources.conf' | ||||
|  for adding maximum SNR value for PCTV Systems nanoStick T2 290e | ||||
|  | ||||
| Bernd Melcher <bernd@bernd-melcher.de> | ||||
|  for reporting a problem with the 'servicedemo' plugin having no PLUGIN macro | ||||
|   | ||||
							
								
								
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -7493,3 +7493,8 @@ Video Disk Recorder Revision History | ||||
|   Endriss). You may need to adjust your DVBDIR setting in Make.config, in case you | ||||
|   use it. | ||||
| - 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). | ||||
|   | ||||
							
								
								
									
										10
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								config.h
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * 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 | ||||
| @@ -22,13 +22,13 @@ | ||||
|  | ||||
| // VDR's own version number: | ||||
|  | ||||
| #define VDRVERSION  "1.7.35" | ||||
| #define VDRVERSNUM   10735  // Version * 10000 + Major * 100 + Minor | ||||
| #define VDRVERSION  "1.7.36" | ||||
| #define VDRVERSNUM   10736  // Version * 10000 + Major * 100 + Minor | ||||
|  | ||||
| // The plugin API's version number: | ||||
|  | ||||
| #define APIVERSION  "1.7.35" | ||||
| #define APIVERSNUM   10735  // Version * 10000 + Major * 100 + Minor | ||||
| #define APIVERSION  "1.7.36" | ||||
| #define APIVERSNUM   10736  // Version * 10000 + Major * 100 + Minor | ||||
|  | ||||
| // When loading plugins, VDR searches them by their APIVERSION, which | ||||
| // may be smaller than VDRVERSION in case there have been no changes to | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * 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" | ||||
| @@ -632,7 +632,8 @@ int cDvbTuner::GetSignalQuality(void) const | ||||
|      // special treatment to map their Snr value into the range 0...0xFFFF. | ||||
|      switch (subsystemId) { | ||||
|        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 b = 100 - (Unc * 10 + (Ber / 256) * 5); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user