Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv546
Modified Files: Tag: impd_0_37 g_all_guis.h g_dropper.c Log Message: snd/rcv/band should work now
Index: g_dropper.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/g_dropper.c,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -C2 -d -r1.1.2.6 -r1.1.2.7 *** g_dropper.c 28 Apr 2004 10:04:13 -0000 1.1.2.6 --- g_dropper.c 28 Apr 2004 20:10:34 -0000 1.1.2.7 *************** *** 94,100 **** }
static void dropper_symbol(t_dropper *x, t_symbol *s) { ! outlet_symbol(x->x_gui.x_obj.ob_outlet, s); }
--- 94,108 ---- }
+ static void dropper_bang(t_dropper *x) + { + outlet_symbol(x->x_gui.x_obj.ob_outlet, x->x_ds); + if(x->x_gui.x_snd_able && x->x_gui.x_snd->s_thing) + pd_symbol(x->x_gui.x_snd->s_thing, x->x_ds); + } + static void dropper_symbol(t_dropper *x, t_symbol *s) { ! x->x_ds = s; ! dropper_bang(x); }
*************** *** 152,155 **** --- 160,164 ---- t_class *c = dropper_class = class_new(gensym("dropper"), (t_newmethod)dropper_new, (t_method)dropper_ff, sizeof(t_dropper), 0, A_GIMME, 0); + class_addbang(c, dropper_bang); class_addsymbol(c, dropper_symbol); class_addmethod(c, (t_method)dropper_dialog, gensym("dialog"), A_GIMME, 0);
Index: g_all_guis.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_all_guis.h,v retrieving revision 1.1.1.4.2.2.2.14 retrieving revision 1.1.1.4.2.2.2.15 diff -C2 -d -r1.1.1.4.2.2.2.14 -r1.1.1.4.2.2.2.15 *** g_all_guis.h 27 Apr 2004 18:09:35 -0000 1.1.1.4.2.2.2.14 --- g_all_guis.h 28 Apr 2004 20:10:32 -0000 1.1.1.4.2.2.2.15 *************** *** 129,132 **** --- 129,133 ---- t_iemgui x_gui; t_symbol *x_s; + t_symbol *x_ds; } t_dropper;