insert recorded files on the wav list

This commit is contained in:
Alexandre Ratchov 2012-11-07 09:10:03 +01:00
parent a3a868da74
commit ebdfbab96a
1 changed files with 2 additions and 0 deletions

View File

@ -885,6 +885,8 @@ 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;