[PD-dev] [ pure-data-Patches-1755710 ] patch: OS X sysexin/midiin support #2
SourceForge.net
noreply at sourceforge.net
Fri Dec 7 01:12:59 CET 2007
Patches item #1755710, was opened at 2007-07-17 22:41
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1755710&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nathaniel Dose (dosena2)
>Assigned to: Miller Puckette (millerpuckette)
Summary: patch: OS X sysexin/midiin support #2
Initial Comment:
Here is changed file 2 of 3 for enabling "sysexin" and "midiin". The changes are minimal; see below or attached. I was told to post here by the dev mailing list.
$ cvs status x_midi.c
===================================================================
File: x_midi.c Status: Locally Modified
Working revision: 1.4
Repository revision: 1.4 /cvsroot/pure-data/pd/src/x_midi.c,v
Sticky Tag: stable_0_40 (branch: 1.4.2)
Sticky Date: (none)
Sticky Options: (none)
$ cvs diff -u x_midi.c
Index: x_midi.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_midi.c,v
retrieving revision 1.4
diff -u -r1.4 x_midi.c
--- x_midi.c 8 Sep 2006 23:45:31 -0000 1.4
+++ x_midi.c 17 Jul 2007 20:38:44 -0000
@@ -32,8 +32,8 @@
x->x_outlet1 = outlet_new(&x->x_obj, &s_float);
x->x_outlet2 = outlet_new(&x->x_obj, &s_float);
pd_bind(&x->x_obj.ob_pd, midiin_sym);
-#ifndef __linux__
- pd_error(x, "midiin: works under Linux only");
+#ifdef WIN32
+ pd_error(x, "midiin: windows: not supported");
#endif
return (x);
}
@@ -55,8 +55,8 @@
x->x_outlet1 = outlet_new(&x->x_obj, &s_float);
x->x_outlet2 = outlet_new(&x->x_obj, &s_float);
pd_bind(&x->x_obj.ob_pd, sysexin_sym);
-#ifndef __linux__
- pd_error(x, "sysexin: works under Linux only");
+#ifdef WIN32
+ pd_error(x, "sysexin: windows: not supported");
#endif
return (x);
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1755710&group_id=55736
More information about the Pd-dev
mailing list