Allowed speed=any

This commit is contained in:
Thomas Schmitt 2007-08-09 13:28:40 +00:00
parent 7e3af7666b
commit 73c6a6ddea
3 changed files with 6 additions and 3 deletions

View File

@ -535,7 +535,7 @@ It is not an error to set a speed higher than is suitable for drive
and media. One should stay within a realistic speed range, though. and media. One should stay within a realistic speed range, though.
Special speed settings are: Special speed settings are:
.br .br
0 = minimal speed , -1 = maximal speed (default). 0 = minimal speed , -1 = maximal speed (default), text "any" = like -1.
.TP .TP
.BI \-swab .BI \-swab
Announce that the raw audio data source of subsequent tracks is byte swapped Announce that the raw audio data source of subsequent tracks is byte swapped

View File

@ -6385,6 +6385,9 @@ set_padsize:;
} else if(strncmp(argv[i],"speed=",6)==0) { } else if(strncmp(argv[i],"speed=",6)==0) {
value_pt= argv[i]+6; value_pt= argv[i]+6;
set_speed:; set_speed:;
if(strcmp(value_pt,"any")==0)
skin->x_speed= -1;
else
sscanf(value_pt,"%lf",&(skin->x_speed)); sscanf(value_pt,"%lf",&(skin->x_speed));
if(skin->x_speed<1.0 && skin->x_speed!=0.0 && skin->x_speed!=-1) { if(skin->x_speed<1.0 && skin->x_speed!=0.0 && skin->x_speed!=-1) {
fprintf(stderr,"cdrskin: FATAL : speed= must be -1, 0 or at least 1\n"); fprintf(stderr,"cdrskin: FATAL : speed= must be -1, 0 or at least 1\n");

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.07.20.210001" #define Cdrskin_timestamP "2007.08.09.133137"