forked from libpd/libpd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:libpd/libpd
- Loading branch information
Showing
52 changed files
with
3,324 additions
and
1,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace LibPDBinding | ||
{ | ||
public delegate void LibPDPrint (string text); | ||
public delegate void LibPDBang (string recv); | ||
public delegate void LibPDFloat (string recv, float x); | ||
public delegate void LibPDSymbol (string recv, string sym); | ||
public delegate void LibPDList (string recv, object[] args); | ||
public delegate void LibPDMessage (string recv, string msg, object[] args); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDPrintHook ([In] [MarshalAs (UnmanagedType.LPStr)] string text); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDBangHook ([In] [MarshalAs (UnmanagedType.LPStr)] string recv); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDFloatHook ([In] [MarshalAs (UnmanagedType.LPStr)] string recv, float x); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDSymbolHook ([In] [MarshalAs (UnmanagedType.LPStr)] string recv, [In] [MarshalAs (UnmanagedType.LPStr)] string sym); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDListHook ([In] [MarshalAs (UnmanagedType.LPStr)] string recv, int argc, IntPtr argv); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDMessageHook ([In] [MarshalAs (UnmanagedType.LPStr)] string recv, [In] [MarshalAs (UnmanagedType.LPStr)] string msg, int argc, IntPtr argv); | ||
|
||
// MIDI | ||
public delegate void LibPDNoteOn (int channel, int pitch, int velocity); | ||
public delegate void LibPDControlChange (int channel, int controller, int value); | ||
public delegate void LibPDProgramChange (int channel, int value); | ||
public delegate void LibPDPitchbend (int channel, int value); | ||
public delegate void LibPDAftertouch (int channel, int value); | ||
public delegate void LibPDPolyAftertouch (int channel, int pitch, int value); | ||
public delegate void LibPDMidiByte (int port, int midiByte); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDNoteOnHook (int channel, int pitch, int velocity); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDControlChangeHook (int channel, int controller, int value); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDProgramChangeHook (int channel, int value); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDPitchbendHook (int channel, int value); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDAftertouchHook (int channel, int value); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDPolyAftertouchHook (int channel, int pitch, int value); | ||
|
||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)] | ||
internal delegate void LibPDMidiByteHook (int port, int midiByte); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Visual Studio 2010 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibPDBinding", "LibPDBinding.csproj", "{56E27175-956F-4182-8A74-5DE0CC1FCDC2}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{56E27175-956F-4182-8A74-5DE0CC1FCDC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{56E27175-956F-4182-8A74-5DE0CC1FCDC2}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{56E27175-956F-4182-8A74-5DE0CC1FCDC2}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{56E27175-956F-4182-8A74-5DE0CC1FCDC2}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Properties> | ||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> | ||
<MonoDevelop.Ide.Workbench ActiveDocument="app.config"> | ||
<Files> | ||
<File FileName="app.config" Line="5" Column="23" /> | ||
</Files> | ||
</MonoDevelop.Ide.Workbench> | ||
<MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<BreakpointStore /> | ||
</MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<MonoDevelop.Ide.DebuggingService.PinnedWatches /> | ||
</Properties> |
Oops, something went wrong.