aboutsummaryrefslogtreecommitdiff
path: root/pd/pd.cs
diff options
context:
space:
mode:
Diffstat (limited to 'pd/pd.cs')
-rwxr-xr-xpd/pd.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/pd/pd.cs b/pd/pd.cs
index a94b9f1..a0f28aa 100755
--- a/pd/pd.cs
+++ b/pd/pd.cs
@@ -25,7 +25,12 @@ namespace PureData
{
ToOutlet (x, outlet, atoms.Length, atoms);
}
-
+ public static void SendToOutlet (IntPtr x, int outlet, Atom atom)
+ {
+ Atom [] atoms = new Atom[1];
+ atoms[0] = atom;
+ ToOutlet (x, outlet, atoms.Length, atoms);
+ }
// create an outlet
[MethodImplAttribute (MethodImplOptions.InternalCall)]
private extern static void CreateOutlet (IntPtr x, int type);