From ad00f359cc3dac3df025f1a51256c5a72f58777d Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 2 Nov 2012 12:19:02 +0100 Subject: [PATCH] Dont insert twice recorded wav files (-o) on the list of recorded files; with help from Remco --- aucat/wav.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aucat/wav.c b/aucat/wav.c index 0534c69..17c2fb3 100644 --- a/aucat/wav.c +++ b/aucat/wav.c @@ -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; }