blob: b304cefdd0497f8ff06858492cf0faab21b62182 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
using System.Runtime.InteropServices;
namespace PortMidi
{
[StructLayout(LayoutKind.Sequential)]
public struct MidiEvent
{
MidiMessage msg;
Int32 ts;
[NonSerialized] byte[] sysex;
public MidiMessage Message
{
get => msg;
set => msg = value;
}
public Int32 Timestamp
{
get => ts;
set => ts = value;
}
public byte[] SysEx
{
get => sysex;
set => sysex = value;
}
}
}
|