From a1fdfe15192d962edc4bed9cd4f11757cebb3154 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 5 Mar 2013 18:55:03 +0000 Subject: [PATCH] Always considering mode page 2A when looking for min and max speed --- cdrskin/cdrskin.c | 4 ++-- cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index dbf2e1c..de2faae 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -5702,13 +5702,13 @@ int Cdrskin_list_speeds(struct CdrskiN *skin, int flag) low, ((double) low) * 1000.0 / speed_factor, speed_unit); printf("Write speed H: %5dk , %4.1fx%s\n", high, ((double) high) * 1000.0 / speed_factor, speed_unit); - ret= burn_drive_get_best_speed(drive, -1, &item, 0); + ret= burn_drive_get_best_speed(drive, -1, &item, 2); if(ret > 0 && item != NULL) if(item->write_speed != low) printf("Write speed 0: %5dk , %4.1fx%s\n", item->write_speed, ((double) item->write_speed) * 1000.0 / speed_factor, speed_unit); - ret= burn_drive_get_best_speed(drive, 0, &item, 0); + ret= burn_drive_get_best_speed(drive, 0, &item, 2); if(ret > 0 && item != NULL) if(item->write_speed != high) printf("Write speed-1: %5dk , %4.1fx%s\n", diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 5c04a22..e3c3722 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.03.05.185356" +#define Cdrskin_timestamP "2013.03.05.185440"