make -m and -x play together better

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@190 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-05-20 20:48:44 +00:00
parent bbb03de6af
commit a1294dfb45

View File

@ -177,12 +177,13 @@ int main(int argc, char ** argv) {
} }
if (!play) { if (!play) {
if (metaonly) printf("metadata for %s\n",argv[optind]); if (adxencd) {
else if (adxencd) { printf("adxencd");
printf("adxencd \"%s\"",outfilename); if (!metaonly) printf(" \"%s\"",outfilename);
if (s->loop_flag) printf(" -lps%d -lpe%d",s->loop_start_sample,s->loop_end_sample); if (s->loop_flag) printf(" -lps%d -lpe%d",s->loop_start_sample,s->loop_end_sample);
printf("\n"); printf("\n");
} }
else if (metaonly) printf("metadata for %s\n",argv[optind]);
else printf("decoding %s\n",argv[optind]); else printf("decoding %s\n",argv[optind]);
} }
if (!play && !adxencd) { if (!play && !adxencd) {