add progress report when entering wav output stage

This commit is contained in:
Holger Vogt 2020-08-01 14:33:25 +02:00
parent fbcf2d0195
commit 1cb326f738
1 changed files with 5 additions and 5 deletions

View File

@ -443,13 +443,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;
@ -464,7 +467,6 @@ com_sndprint(wordlist* wl)
for (lv = v; lv->v_link2; lv = lv->v_link2)
;
ngood += 1;
}
if (!ngood) return;
@ -485,14 +487,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++;
}