From 12ac7c8a2385d21ab5dff9b3f5cdc862945405ad Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 12 Apr 2006 09:38:45 +0000 Subject: [PATCH] configure.ac: in 0.78cvs now mmc2a.c: small changes from and synch with mmc-tool. --- NEWS | 10 ++++++++-- configure.ac | 6 +++--- example/mmc2a.c | 16 ++++++++++------ 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/NEWS b/NEWS index c38990f1..c360f00c 100644 --- a/NEWS +++ b/NEWS @@ -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 $ diff --git a/configure.ac b/configure.ac index a4f205cb..471f89de 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/example/mmc2a.c b/example/mmc2a.c index ecab7475..71e55332 100644 --- a/example/mmc2a.c +++ b/example/mmc2a.c @@ -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 @@ -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)); }