From 733c734e535c616bcbb2410f55000908fce05f65 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 1 Aug 2020 14:33:25 +0200 Subject: [PATCH] add progress report when entering wav output stage --- src/frontend/postcoms.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/postcoms.c b/src/frontend/postcoms.c index 6acd4bf75..d3b59eff1 100644 --- a/src/frontend/postcoms.c +++ b/src/frontend/postcoms.c @@ -436,13 +436,16 @@ com_sndprint(wordlist* wl) if (wl == NULL) return; + +#ifdef HAS_PROGREP + SetAnalyse("Wav out", 0); +#endif + if (eq(wl->wl_word, "col")) { wl = wl->wl_next; - } else if (eq(wl->wl_word, "line")) { wl = wl->wl_next; - } ngood = 0; @@ -457,7 +460,6 @@ com_sndprint(wordlist* wl) for (lv = v; lv->v_link2; lv = lv->v_link2) ; ngood += 1; - } if (!ngood) return; @@ -478,14 +480,12 @@ com_sndprint(wordlist* wl) for (v = bv; v; v = v->v_link2) { if (v->v_length <= j) { i += snd_send(tme, c, 0.0); - } else { if (isreal(v)) i += snd_send(tme, c, v->v_realdata[j]); else i += snd_send(tme, c, realpart(v->v_compdata[j])); - } c++; }