Dont insert twice recorded wav files (-o) on the list of recorded

files; with help from Remco <remco at d-compu.dyndns.org>
This commit is contained in:
Alexandre Ratchov 2012-11-02 12:19:02 +01:00
parent 3f1b2007ce
commit ad00f359cc
1 changed files with 0 additions and 4 deletions

View File

@ -885,8 +885,6 @@ wav_new_out(struct fileops *ops, struct dev *dev,
f->mode = mode;
f->pstate = WAV_CFG;
f->endpos = f->startpos = 0;
f->next = wav_list;
wav_list = f;
if (hdr == HDR_WAV) {
par->le = 1;
par->sig = (par->bits <= 8) ? 0 : 1;
@ -921,8 +919,6 @@ wav_new_out(struct fileops *ops, struct dev *dev,
dbg_puts("\n");
}
#endif
f->next = wav_list;
wav_list = f;
return f;
}