mirror of https://github.com/ericonr/sndio.git
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:
parent
3f1b2007ce
commit
ad00f359cc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue