[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdemultimedia/kioslave/audiocd
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2008-08-05 21:19:05
Message-ID: 1217971145.873855.19342.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 842761 by aacid:
Make it work(that is show tracks), if you change the device everytime, \
kcompactdisclib creates a new private CD each time breaking how wmanlib \
works
Attention: Someone with FreeBSD should test the #else part of #if \
defined(HAVE_CDDA_IOCTL_DEVICE) because probably something similar is \
needed
M +2 -1 audiocd.cpp
--- trunk/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp #842760:842761
@@ -212,7 +212,8 @@
// Update our knowledge of the disc
#if defined(HAVE_CDDA_IOCTL_DEVICE)
- d->cd.setDevice(drive->ioctl_device_name, 50, false);
+ if (d->cd.deviceName() != drive->ioctl_device_name)
+ d->cd.setDevice(drive->ioctl_device_name, 50, false);
#else
// FreeBSD's cdparanoia as of january 5th 2006 has rather broken
// support for non-SCSI devices. Although it finds ATA cdroms just
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic