Пример #1
0
        public void SendMidi(MIDIMessage message, Bundle rinfo)
        {
//        Log.d("MIDIPort","sendMidi(message)");
            if (!isListening)
            {
                if (DEBUG)
                {
                    Log.Debug(TAG, "not listening...");
                }
                return;
            }
            AddToOutboundQueue(message.GenerateBuffer(), rinfo);
        }
Пример #2
0
 public void SendMessage(MIDIMessage m)
 {
     this.lastSentSequenceNr = (this.lastSentSequenceNr + 1) % 0x10000;
     m.SequenceNumber        = this.lastSentSequenceNr;
     MIDISession.GetInstance().SendUDPMessage(m, rinfo2);
 }