configure.ac: in 0.78cvs now

mmc2a.c: small changes from and synch with mmc-tool.
This commit is contained in:
rocky
2006-04-12 09:38:45 +00:00
parent 0c2b1bfa9e
commit 12ac7c8a23
3 changed files with 21 additions and 11 deletions

10
NEWS
View File

@@ -1,4 +1,10 @@
$Id: NEWS,v 1.99 2006/03/18 04:15:07 rocky Exp $
$Id: NEWS,v 1.100 2006/04/12 09:38:45 rocky Exp $
version 0.78cvs
=====================================
- add mmc-tool
- add mmc-close-tray
- libudf: can now read (extract) file data
version 0.77
=====================================
@@ -344,4 +350,4 @@ version 0.1
Routines split off from VCDImager.
$Id: NEWS,v 1.99 2006/03/18 04:15:07 rocky Exp $
$Id: NEWS,v 1.100 2006/04/12 09:38:45 rocky Exp $

View File

@@ -15,11 +15,11 @@ dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
dnl 02110-1301 USA.
define(RELEASE_NUM, 77)
define(CDIO_VERSION_STR, 0.$1)
define(RELEASE_NUM, 78)
define(CDIO_VERSION_STR, 0.$1cvs)
AC_PREREQ(2.52)
AC_REVISION([$Id: configure.ac,v 1.193 2006/03/30 10:47:51 flameeyes Exp $])dnl
AC_REVISION([$Id: configure.ac,v 1.194 2006/04/12 09:38:45 rocky Exp $])dnl
AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM))
AC_CONFIG_SRCDIR(src/cd-info.c)

View File

@@ -1,5 +1,5 @@
/*
$Id: mmc2a.c,v 1.3 2006/04/12 09:30:14 rocky Exp $
$Id: mmc2a.c,v 1.4 2006/04/12 09:38:45 rocky Exp $
Copyright (C) 2006 Rocky Bernstein <rocky@cpan.org>
@@ -186,12 +186,16 @@ print_mode_sense (const char *psz_drive, const char *six_or_ten,
if (buf[7] & 0x10) {
printf("\tReads raw R-W subchannel information from lead in.\n");
}
printf("\tMaximum read speed is %d\n", CDIO_MMC_GETPOS_LEN16(buf, 8));
printf("\tNumber of Volume levels is %d\n", CDIO_MMC_GETPOS_LEN16(buf, 10));
{
const unsigned int i_speed_Kbs = CDIO_MMC_GETPOS_LEN16(buf, 8);
printf("\tMaximum read speed is %d K bytes/sec (about %dX)\n",
i_speed_Kbs, i_speed_Kbs / 176) ;
}
printf("\tNumber of Volume levels is %d\n", CDIO_MMC_GETPOS_LEN16(buf, 10));
printf("\tBuffers size for data is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 12));
printf("\tCurrent read speed is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 14));
printf("\tMaximum write speed is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 18));
printf("\tCurrent write speed is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 28));
printf("\tCurrent read speed is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 14));
printf("\tMaximum write speed is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 18));
printf("\tCurrent write speed is %d KB\n", CDIO_MMC_GETPOS_LEN16(buf, 28));
}