[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdemultimedia/kioslave/audiocd
From: Adriaan de Groot <groot () kde ! org>
Date: 2005-08-03 11:56:25
Message-ID: 1123070185.735510.18841.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 442627 by adridg:
cdda device names are not standard across platforms
M +4 -0 audiocd.cpp
--- branches/KDE/3.5/kdemultimedia/kioslave/audiocd/audiocd.cpp #442626:442627
@@ -216,7 +216,11 @@
KCompactDisc cd(KCompactDisc::Asynchronous);
// TODO which one is right?
// qDebug("\"%s\" \"%s\"", drive->cdda_device_name, drive->ioctl_device_name);
+#if defined(Q_OS_LINUX)
cd.setDevice(drive->cdda_device_name, 50, false);
+#elif defined(Q_OS_FREEBSD)
+ cd.setDevice(drive->dev->device_path);
+#endif
if (cd.discId() != d->discid && cd.discId() != cd.missingDisc){
d->discid = cd.discId();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic