MIDI Flow Delayed After Replug
MIDI Flow Delayed After Replug
- Subject: MIDI Flow Delayed After Replug
- From: Chuck Carlson <email@hidden>
- Date: Sun, 19 Sep 2010 21:46:15 -0700
Hello,
Wonder if anyone knows why it takes 15 seconds after an external usb midi device is unplugged/replugged for midi data to flow again?
I've instrumented the midi driver plug-in and see that it's getting data immediately after the replug.
When I detect that the endpoint has gone offline, I do a MIDIClientDispose then reopen the client with MIDIClientCreate and create the ports with MIDIOutputPortCreate then find and connect the endpoints.
If I don't unplug, but call my regular close and reopen procedures, data flows again immediately.
Is there a better way for me to clean up after the endpoint goes offline?
Thanks,
--Chuck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden