petegoodliffe / PGMidi

PGMidi iOS MIDI library and example code
296 stars 83 forks source link

Midi Flush not working #25

Open luismartimor opened 7 years ago

luismartimor commented 7 years ago

Need to cancel the sending of packets that were previously scheduled for future delivery.

Tried with this: for (int i=0;i<midi.destinations.count;i++){ PGMidiDestination *destination = [[midi destinations] objectAtIndex:i]; [destination flushOutput]; }

Not working, then, I add these methods to PGMidi.mm

Not working, the sended notes still playing after flush. Any ideas ?

hgwhittle commented 2 weeks ago

Same, specifically over network MIDI.

Non-network destination stops sending as expected.