petegoodliffe / PGMidi

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

iOS 8.0.2 loses connection and all MIDI if locked #14

Closed aronnelson closed 9 years ago

aronnelson commented 9 years ago

If I lock my iPad (i.e. put it to sleep using the power button). After a short while, after awaking it, the MIDI interface is inoperable. The MIDI app does see the interface but send MIDI doesn't work at all.

johndpope commented 9 years ago

have a look at https://github.com/krevis/MIDIApps/tree/master/Frameworks/SnoizeMIDI

aronnelson commented 9 years ago

John,

Thank you. I will check it out!

Aron

Aron http://www.aronnelson.com http://www.diystompboxes.com/

On Fri, Jan 9, 2015 at 9:00 PM, John Pope notifications@github.com wrote:

have a look at https://github.com/krevis/MIDIApps/tree/master/Frameworks/SnoizeMIDI

— Reply to this email directly or view it on GitHub https://github.com/petegoodliffe/PGMidi/issues/14#issuecomment-69446033.

aronnelson commented 9 years ago

It looks like the main change is: if (sMIDIClientRef) {

Then the sharedClient is released. Will try this and see what terrible things happen!

aronnelson commented 9 years ago

OK, ignore this. Yes, certain MIDI interfaces fail, but apparently only a few. M-Audio UNO is one. You can get a generic interface that works perfectly every time so I will mark this as a problem with only certain interfaces.