Always considering mode page 2A when looking for min and max speed
This commit is contained in:
parent
bbb6315af0
commit
a1fdfe1519
@ -5702,13 +5702,13 @@ int Cdrskin_list_speeds(struct CdrskiN *skin, int flag)
|
|||||||
low, ((double) low) * 1000.0 / speed_factor, speed_unit);
|
low, ((double) low) * 1000.0 / speed_factor, speed_unit);
|
||||||
printf("Write speed H: %5dk , %4.1fx%s\n",
|
printf("Write speed H: %5dk , %4.1fx%s\n",
|
||||||
high, ((double) high) * 1000.0 / speed_factor, speed_unit);
|
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(ret > 0 && item != NULL)
|
||||||
if(item->write_speed != low)
|
if(item->write_speed != low)
|
||||||
printf("Write speed 0: %5dk , %4.1fx%s\n",
|
printf("Write speed 0: %5dk , %4.1fx%s\n",
|
||||||
item->write_speed,
|
item->write_speed,
|
||||||
((double) item->write_speed) * 1000.0 / speed_factor, speed_unit);
|
((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(ret > 0 && item != NULL)
|
||||||
if(item->write_speed != high)
|
if(item->write_speed != high)
|
||||||
printf("Write speed-1: %5dk , %4.1fx%s\n",
|
printf("Write speed-1: %5dk , %4.1fx%s\n",
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2013.03.05.185356"
|
#define Cdrskin_timestamP "2013.03.05.185440"
|
||||||
|
Loading…
Reference in New Issue
Block a user