Re: wow, this actually works!
Re: wow, this actually works!
- Subject: Re: wow, this actually works!
- From: Kenneth Welch <email@hidden>
- Date: Tue, 28 May 2002 22:30:59 -0400
You'll need to keep this thread around...
CoreMIDI will use the run loop of the thread that you first call it on
to do
the notifications, so if that thread dies, your app won't be in too
healthy
a state...
<crawls out of cave>
Wow, I had it right the first time, but not for the right reason. Oh
well, close enough. :) Thanks for the info Bill.
I have already changed my app's version of that thread so it runs once
and dies each time I need to call the MIDI methods, in order to get rid
of the "while(true) test booleans" loop which is a noticeable CPU strain
even with it set to Thread.MIN_PRIORITY. But that's okay because my app
doesn't actually use any notifications -- it only needs to be able to
send MIDIPacketList objects out to destinations -- so in my case I'm
fine. Scott may need it though.
_______________________________________________
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.