add progress report when entering wav output stage
This commit is contained in:
parent
fbcf2d0195
commit
1cb326f738
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue