Opened 18 years ago
Closed 18 years ago
#3379 closed enhancement (fixed)
Moving the function to change the CD speed to the MediaDevice object
Reported by: | anonymous | Owned by: | skamithi |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | cd/dvd speed setting |
Cc: | Ticket locked: | no |
Description
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)
Attachments (4)
Change History (9)
Changed 18 years ago by
Attachment: | cd-speed-patch added |
---|
Changed 18 years ago by
Attachment: | cddec.diff added |
---|
cd-speed patch for mythmusic audio cd's - slow them down
Changed 18 years ago by
Attachment: | cddec.2.diff added |
---|
cd-speed patch for mythmusic audio cd's - slow them down
comment:1 Changed 18 years ago by
Forget about the first cddec.diff, I forgot to clean it up before uploading. I wasn't allowed to overwrite it ;-)
comment:2 Changed 18 years ago by
Owner: | changed from Isaac Richards to skamithi |
---|---|
Status: | new → assigned |
comment:3 Changed 18 years ago by
comment:4 Changed 18 years ago by
Milestone: | unknown → 0.21 |
---|---|
Version: | unknown → head |
Changed 18 years ago by
Attachment: | set_cd_speed_final.diff added |
---|
change debug msg from vb_important to vb_media. create static SetCDSpeed function in mythmediamonitor. hard code mythmusic audio speed to 2x.
cd-speed patch