[mythtv-commits] Ticket #3379: Moving the function to change the CD speed to the MediaDevice object

MythTV mythtv at cvs.mythtv.org
Sun Apr 29 20:42:43 UTC 2007


#3379: Moving the function to change the CD speed to the MediaDevice object
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |       Owner:  ijr    
     Type:  enhancement  |      Status:  new    
 Priority:  minor        |   Milestone:  unknown
Component:  mythtv       |     Version:  unknown
 Severity:  medium       |  
-------------------------+--------------------------------------------------
 Move the function to set the cdrom speed to the MediaDevice object. This
 makes the code also usable from other pieces of myth (like mythmusic).
 I changed the code in the setSpeed function to take multiples of 177KB/s.
 This looks to be historically correct. Also the code tries the
 CDROM_SELECT_SPEED first. When this ioctl errors out, it chooses the
 SG_IO way of things. This seems to be the only reliable way to get this
 working on my system (2.6.18 + ide-cd).

 Because currently, the dvdplayer and most of the other player functions
 only 'know' a device from it's pathname, I added:
   MythMediaDevice* MediaMonitor::GetMedia(const QString& path)

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


More information about the mythtv-commits mailing list