[mythtv] [PATCH] Cleaning up card input data members

Isaac Richards ijr at po.cwru.edu
Fri Jan 30 02:10:44 EST 2004


On Thursday 29 January 2004 12:46 am, Brad Corrion wrote:
> Isaac,
>
> Following up on the card-input sourceid additions, I went ahead and
> created a CardInput class.  No functional changes, just purely
> structural re-organization.

Looks ok, but for pure data storage classes, I really just prefer to use a 
straight struct..  if there's no need for the extra function overhead, it's 
nice to bypass that.

> I hope to streamline some of the clients of the class in the near 
> future.  Additionally, I'm toying with a way to say tune to channel "x," 
> and having this class play a role in choosing the input, channel, tuner, 
> etc.  That may or may not work out.  But I'm trying to creep to a place 
> where the HD-2000 card can exist in Myth as a dual mode ATSC/NTSC tuner, 
> sans hacks.

That'd be cool.  Anyway, I've put this current patch in my 'to be applied 
after 0.14 mailbox', as it's just a reorg.

Isaac


More information about the mythtv-dev mailing list