Allowed speed=any

This commit is contained in:
Thomas Schmitt 2007-08-09 13:28:40 +00:00
parent 69f9f8e493
commit 5363693b07
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.
Special speed settings are:
.br
0 = minimal speed , -1 = maximal speed (default).
0 = minimal speed , -1 = maximal speed (default), text "any" = like -1.
.TP
.BI \-swab
Announce that the raw audio data source of subsequent tracks is byte swapped

View File

@ -6385,7 +6385,10 @@ set_padsize:;
} else if(strncmp(argv[i],"speed=",6)==0) {
value_pt= argv[i]+6;
set_speed:;
sscanf(value_pt,"%lf",&(skin->x_speed));
if(strcmp(value_pt,"any")==0)
skin->x_speed= -1;
else
sscanf(value_pt,"%lf",&(skin->x_speed));
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");
return(0);

View File

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