Esempio n. 1
0
 public static extern PmError Pm_WriteShort(PortMidiStream stream, PmTimestamp when, MidiMessage msg);
Esempio n. 2
0
 public void Write(PmTimestamp when, MidiMessage msg)
 {
     var ret = PortMidiMarshal.Pm_WriteShort (stream, when, msg);
     if (ret != PmError.NoError)
         throw new MidiException (ret, String.Format ("Failed to write message {1} (error code {0})", ret, msg.Value));
 }
Esempio n. 3
0
 public void Write(PmTimestamp when, MidiMessage msg)
 {
     var ret = PortMidiMarshal.Pm_WriteShort (stream, when, msg);
     if (ret != PmError.NoError)
         throw new MidiException (ret, String.Format ("Failed to write message {0} : {1}", msg.Value, PortMidiMarshal.Pm_GetErrorText ((PmError) ret)));
 }
 public static extern PmError Pm_WriteShort(PortMidiStream stream, PmTimestamp when, MidiMessage msg);