Yet another attempt to get "get_drives_with_cap" working in a rational

fashion.
This commit is contained in:
rocky
2006-03-28 03:26:16 +00:00
parent 10942d5ba3
commit dbc63b695a
7 changed files with 46 additions and 52 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: testisocd.c,v 1.2 2006/03/26 20:47:55 rocky Exp $
/* $Id: testisocd.c,v 1.3 2006/03/28 03:26:16 rocky Exp $
Copyright (C) 2003, 2004, 2005, 2006 Rocky Bernstein
<rockyb@users.sourceforge.net>
@@ -65,12 +65,8 @@ main(int argc, const char *argv[])
/* See if we can find a device with a loaded CD-DA in it. If successful
drive_id will be set. */
ppsz_cd_drives =
cdio_get_devices_with_cap_ret(NULL,
(CDIO_FS_ISO_9660
|CDIO_FS_ISO_HFS
|CDIO_FS_ISO_9660_INTERACTIVE),
true,
&driver_id);
cdio_get_devices_with_cap_ret(NULL, CDIO_FS_ANAL_ISO9660_ANY,
true, &driver_id);
if (ppsz_cd_drives && ppsz_cd_drives[0]) {
/* Found such a CD-ROM with an ISO 9660 filesystem. Use the first drive in