[mythtv-commits] Ticket #2087: Clean up US frequency tables

MythTV mythtv at cvs.mythtv.org
Wed Oct 4 22:54:04 UTC 2006


#2087: Clean up US frequency tables
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  danielk 
     Type:  patch                             |       Status:  reopened
 Priority:  minor                             |    Milestone:  0.21    
Component:  mythtv                            |      Version:  head    
 Severity:  low                               |   Resolution:          
----------------------------------------------+-----------------------------
Changes (by sphery <mtdean at thirdcontact.com>):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 The attached patch fine tunes the digital HRC and IRC frequency tables.
 The code changes compile fine and I've re-checked the frequencies multiple
 times, so I'm pretty certain everything is correct in the patch.  However,
 I don't have cable, so it's untested.

 I couldn't find the macros used for creating DVB frequency tables to see
 if one was what I needed, so I just modified the one that was used for US
 digital cable to allow specifying the bandwidth (instead of using a value
 of 6MHz for all frequency tables).  If there is other code I could have
 re-used, instead, please let me know.

 The patch breaks creation of the frequency tables into two sections of
 code rather than using a loop to create HRC and IRC as before.  While HRC
 and IRC were very similar (allowing a simple mathematical calculation of
 frequencies) when using "approximate" values, using exact values makes the
 calculation far more complex (and much less maintainable code).  To get an
 idea of what it looks like, see http://misc.thirdcontact.com/MythTV
 /mythtv-digital_hrc_irc_finetune-original_format.patch .

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2087#comment:17>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list