aboutsummaryrefslogtreecommitdiff
path: root/pd/src/d_ugen.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/d_ugen.c')
-rw-r--r--pd/src/d_ugen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pd/src/d_ugen.c b/pd/src/d_ugen.c
index d7cfd543..1edf5ccb 100644
--- a/pd/src/d_ugen.c
+++ b/pd/src/d_ugen.c
@@ -953,6 +953,7 @@ void ugen_done_graph(t_dspcontext *dc)
{
srate = parent_srate;
vecsize = parent_vecsize;
+ calcsize = (parent_context ? parent_context->dc_calcsize : vecsize);
downsample = upsample = 1;
period = frequency = 1;
phase = 0;