[mythtv-commits] Re: Ticket #616: Wrong SNR/SIG values for some DVB cards

MythTV mythtv at cvs.mythtv.org
Thu Nov 24 14:12:30 EST 2005


#616: Wrong SNR/SIG values for some DVB cards
------------------------+---------------------------------------------------
 Reporter:  Adam Egger  |        Owner:  danielk 
     Type:  defect      |       Status:  reopened
 Priority:  minor       |    Milestone:  0.19    
Component:  mythtv      |      Version:  head    
 Severity:  medium      |   Resolution:          
------------------------+---------------------------------------------------
Changes (by danielk):

  * resolution:  invalid =>
  * milestone:  0.20 => 0.19
  * status:  closed => reopened

Comment:

 So in the next API, DVB API 4.0 the signal_strength and snr are uint16_t
 rather than int16_t. For the forseeable future only unsigned 15 bit
 integers make any sense in either of these fields for backwards
 compatiblity for applications. So..

 Since the 3.x API is either not respected at all or the driver writers
 usually had enough sense to only use values in the safe range of 0..7fff,
 we should move on to
 supporting the 4.0 API here and put some comments in the code so it
 doesn't get 'fixed' again later. The downside is that cards with correct
 signal reporting will only use the lower half of the signal bar, but this
 should magically correct itself as drivers get moved to the 4.0 API.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/616>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list