6 extern t_class
*sigdelwrite_class
;
9 typedef struct delwritectl
16 typedef struct _sigdelwrite
20 t_delwritectl x_cspace
;
21 int x_sortno
; /* DSP sort number at which this was last put on chain */
22 int x_rsortno
; /* DSP sort # for first delread or write in chain */
23 int x_vecsize
; /* vector size for delread~ to use */
30 /* routine to check that all delwrites/delreads/vds have same vecsize */
31 static void sigdelwrite_checkvecsize(t_sigdelwrite
*x
, int vecsize
)
33 if (x
->x_rsortno
!= ugen_getsortno())
35 x
->x_vecsize
= vecsize
;
36 x
->x_rsortno
= ugen_getsortno();
38 else if (vecsize
!= x
->x_vecsize
)
39 pd_error(x
, "delread/delwrite/vd vector size mismatch");