From c4420064e209e065d01510830a0cef9e3305f921 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sun, 16 Mar 2008 19:12:49 +0000 Subject: 0.41-2 release svn path=/trunk/; revision=9589 --- pd/src/g_io.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pd/src/g_io.c') diff --git a/pd/src/g_io.c b/pd/src/g_io.c index 2ee89c1c..dd7583cc 100644 --- a/pd/src/g_io.c +++ b/pd/src/g_io.c @@ -168,6 +168,9 @@ void vinlet_dspprolog(struct _vinlet *x, t_signal **parentsigs, int downsample, int upsample, int reblock, int switched) { t_signal *insig, *outsig; + /* no buffer means we're not a signal inlet */ + if (!x->x_buf) + return; x->x_updown.downsample = downsample; x->x_updown.upsample = upsample; @@ -435,6 +438,9 @@ void voutlet_dspprolog(struct _voutlet *x, t_signal **parentsigs, int myvecsize, int calcsize, int phase, int period, int frequency, int downsample, int upsample, int reblock, int switched) { + /* no buffer means we're not a signal outlet */ + if (!x->x_buf) + return; x->x_updown.downsample=downsample; x->x_updown.upsample=upsample; x->x_justcopyout = (switched && !reblock); -- cgit v1.2.1