Try this in the Nyquist prompt, no matter how small the selection, and watch memory usage of the Audacity process:
Code: Select all
(dotimes (i 10000000)
(snd-maxsamp s))
Code: Select all
return (double) (s->scale * result);
Code: Select all
{ double the_result = (s->scale * result); sound-unref(s); return the_result; }