\fB\-o\fR, \fB\-\-output\fR \fIfilename\fR
Explicitly specify output file. (Otherwise, output will go to output.swf)
.TP
-\fB\-f\fR, \fB\-\-framerate\fR \fIfps\fR
+\fB\-r\fR, \fB\-\-framerate\fR \fIfps\fR
Set file framerate to \fIfps\fR frames per second.
.TP
\fB\-l\fR, \fB\-\-loop\fR \fIn\fR
{"v","verbose"},
{"d","definesound"},
{"l","loop"},
- {"f","framerate"},
+ {"r","framerate"},
{"V","version"},
{0,0}
};
verbose ++;
return 0;
}
- else if(!strcmp(name, "f")) {
+ else if(!strcmp(name, "r")) {
float f;
sscanf(val, "%f", &f);
framerate = f*256;
printf("\t-v , --verbose\t\t\t Be more verbose\n");
printf("\t-d , --definesound\t\t\t Generate a DefineSound tag instead of streaming sound\n");
printf("\t-l , --loop n\t\t\t Loop sound n times (implies -d)\n");
- printf("\t-f , --framerate fps\t\t\t Set framerate to fps frames per seond\n");
+ printf("\t-r , --framerate fps\t\t\t Set framerate to fps frames per seond\n");
printf("\t-o , --output filename\t\t set output filename (default: output.swf)\n");
printf("\t-V , --version\t\t\t Print program version and exit\n");
}
logf("<notice> Writing block %d", t);
block1 = &samples[t*2*blocksize];
swf_SetSoundStreamBlock(tag, block1, 1);
+
oldframe = (int)framepos;
framepos += framesperblock;
newframe = (int)framepos;