fwrite(&numread, 1, 2, outf);
fwrite(tempbuf, 1, numread, outf);
fclose(wavf);
}
fclose(wavlistf);
fclose(outf);
printf("Ok.\n");
} else {
printf("WAV Masher v1.0\n");
printf("usage: wavmash <wavlistfile>\n\n");
printf("The WAV list file should contain the names of all the\n");
printf("WAV files to mash, one name per line\n");
}
}