wav_hdr
struct wav_hdr hdr;
memset(&hdr, 0, sizeof(struct wav_hdr));
return afile_writehdr(f, &hdr, sizeof(struct wav_hdr));
struct wav_hdr wav;
f->endpos = f->startpos = sizeof(struct wav_hdr);
if (!afile_writehdr(f, &dummy, sizeof(struct wav_hdr)))