add progress report when entering wav output stage
This commit is contained in:
parent
185970dc3f
commit
733c734e53
|
|
@ -436,13 +436,16 @@ com_sndprint(wordlist* wl)
|
||||||
|
|
||||||
if (wl == NULL)
|
if (wl == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef HAS_PROGREP
|
||||||
|
SetAnalyse("Wav out", 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (eq(wl->wl_word, "col")) {
|
if (eq(wl->wl_word, "col")) {
|
||||||
wl = wl->wl_next;
|
wl = wl->wl_next;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (eq(wl->wl_word, "line")) {
|
else if (eq(wl->wl_word, "line")) {
|
||||||
wl = wl->wl_next;
|
wl = wl->wl_next;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngood = 0;
|
ngood = 0;
|
||||||
|
|
@ -457,7 +460,6 @@ com_sndprint(wordlist* wl)
|
||||||
for (lv = v; lv->v_link2; lv = lv->v_link2)
|
for (lv = v; lv->v_link2; lv = lv->v_link2)
|
||||||
;
|
;
|
||||||
ngood += 1;
|
ngood += 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ngood) return;
|
if (!ngood) return;
|
||||||
|
|
@ -478,14 +480,12 @@ com_sndprint(wordlist* wl)
|
||||||
for (v = bv; v; v = v->v_link2) {
|
for (v = bv; v; v = v->v_link2) {
|
||||||
if (v->v_length <= j) {
|
if (v->v_length <= j) {
|
||||||
i += snd_send(tme, c, 0.0);
|
i += snd_send(tme, c, 0.0);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (isreal(v))
|
if (isreal(v))
|
||||||
i += snd_send(tme, c, v->v_realdata[j]);
|
i += snd_send(tme, c, v->v_realdata[j]);
|
||||||
else
|
else
|
||||||
i += snd_send(tme, c, realpart(v->v_compdata[j]));
|
i += snd_send(tme, c, realpart(v->v_compdata[j]));
|
||||||
|
|
||||||
}
|
}
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue