Re: MIDI and Sleep
Re: MIDI and Sleep
- Subject: Re: MIDI and Sleep
- From: Kurt Revis <email@hidden>
- Date: Tue, 5 Mar 2002 14:55:06 -0800
On Tuesday, March 5, 2002, at 12:42 AM, Kurt Bigler wrote:
On OS 9 I always had the problem with either the MOTU Fastlane or the
MidiSport 2x2 that if the computer was put to sleep, the interface had
to be
unplugged and re-plugged (to reset the USB bus?) after wake-up.
Now under OS X it appears that the replugging is no longer necessary,
but my
MIDI applicaton must be quit and restarted. Is there anything I can do
in
my application to improve its behavior in this regard? My OS X testing
is
with the MOTU Fastlane because the MidiSport 2x2 does not work at all
for me
under OS X.
I can replicate this behavior with the MOTU Fastlane 2x2 on two
different machines. Put the machine to sleep, wake it up again, and the
interface will no longer send MIDI notes.
However, the Midisport 2x2 still works fine in this scenario, so
CoreMIDI is probably not at fault here. (Unless there is a CoreMIDI or
USB bug that the Midisport driver works around and the MOTU driver
doesn't -- hey, anything's possible.). I don't suggest that you change
your app to do anything special, just report the bug to MOTU and hope
they fix it.
(If you are desperate in the short term, you could investigate calling
MIDIReset() upon waking up--that may or may not have some effect. But
that's a really bad idea to do in shipping code.)
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.