MidiDevice.py : get_input() now loops until all available messages are received.
This commit is contained in:
parent
55695164b5
commit
6b845bd1b3
@ -136,10 +136,12 @@ class MidiDevice(object):
|
||||
o_msgL = []
|
||||
|
||||
if self.mip is not None:
|
||||
midi_msg = self.mip.get_message()
|
||||
if midi_msg and midi_msg[0]:
|
||||
while True:
|
||||
midi_msg = self.mip.get_message()
|
||||
if not midi_msg or not midi_msg[0]:
|
||||
break;
|
||||
|
||||
if self.monitorInFl:
|
||||
if self.inMonitorFl:
|
||||
o_msgL.append( self._midi_data_to_text_msg(True,midi_msg[0]) )
|
||||
|
||||
if self.throughFl and self.mop is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user