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:44:47 -0400
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.
Though I suppose you could embed a relatively short Thread.sleep()
command in the loop body to alleviate most of the strain. But that will
obviously impair one's ability to make those MIDIPort-related calls in
the thread with good timing accuracy... I don't know enough about
Scott's application to know if that will matter in his case, but I can
imagine a few hypothetical situations where it might.
_______________________________________________
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.