Commit e7e48b70 authored by Ivica Bukvic's avatar Ivica Bukvic Committed by Hans-Christoph Steiner
Browse files

Pd-0.42.5-extended-l2ork-dev-20110210.tar.bz2

parent 06145e25
......@@ -1255,8 +1255,8 @@ static void canvas_dodsp(t_canvas *x, int toplevel, t_signal **sp)
/* find all the "dsp" boxes and add them to the graph */
ob = &x->gl_magic_glass->x_obj;
if (ob && x->gl_magic_glass->x_connectedObj != NULL) {
fprintf(stderr,"adding cord inspector to dsp\n");
if (ob && x->gl_magic_glass->x_connectedObj) {
//fprintf(stderr,"adding cord inspector to dsp\n");
ugen_add(dc, ob); // this t_canvas could be an array, hence no gl_magic_glass
}
......
......@@ -42,7 +42,7 @@ void magicGlass_bind(t_magicGlass *x, t_object *obj, int outno)
//fprintf(stderr,"magicglass_bind\n");
if (x->x_connectedObj != obj)
{
if (x->x_connectedObj != NULL)
if (x->x_connectedObj)
{
obj_disconnect(x->x_connectedObj,
x->x_connectedOutno,
......@@ -60,7 +60,7 @@ void magicGlass_bind(t_magicGlass *x, t_object *obj, int outno)
void magicGlass_unbind(t_magicGlass *x)
{
//fprintf(stderr,"magicglass_unbind\n");
if (x->x_connectedObj != NULL)
if (x->x_connectedObj)
{
obj_disconnect(x->x_connectedObj,
x->x_connectedOutno,
......@@ -352,9 +352,9 @@ void magicGlass_setDsp(t_magicGlass *x, int i)
t_int *magicGlass_perform(t_int *w)
{
t_magicGlass *x = (t_magicGlass *)(w[1]);
if (x->x_dspOn && x->x_connectedObj != NULL)
if (x->x_dspOn && x->x_connectedObj)
{
fprintf(stderr,"magicglass_perform\n");
//fprintf(stderr,"magicglass_perform\n");
float *in = (float *)(w[2]);
int N = (int)(w[3]);
int i;
......
......@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION 5
#define PD_TEST_VERSION "extended-l2ork-20110201"
#define PD_TEST_VERSION "extended-l2ork-20110210"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment