Re: MIDI packet processing
Re: MIDI packet processing
- Subject: Re: MIDI packet processing
- From: Doug Wyatt <email@hidden>
- Date: Mon, 20 Sep 2004 10:41:01 -0700
I wrote:
If you've got defensive code in there, you might as well leave it in.
If you don't have defensive code, and you discover a misbehaving
driver, I'll stick up for you in complaining to the author of the
driver :)
You replied:
As a driver author, my question back to you would be: where is this
requirement documented? How am I, if starting from scratch, supposed
to know this?
Read the comments in the header file. They've been the basis of this
particular discussion. If the comments are insufficiently clear, ask,
either on this list or privately (we're not that hard to find and we do
try to keep up with things), or write a Radar (which makes it pretty
hard us to ignore you). If you diff the CoreMIDI headers from 10.0 vs
the ones in the WWDC Tiger seed, you'll see that the comments have
improved slightly over time, in response to feedback.
The sample code is often another place to look when you're wondering
about the intricacies of usage.
I mean, 4 years, no detailed documentation for either Core Audio or
Core MIDI drivers. Surely Apple can do better.
I don't disagree -- we can always do better. But realistically, if you
consider that there are probably no more than 10 or 20 people in the
world writing Core MIDI drivers, and not many more writing Core Audio
drivers, you might feel that there are other more pressing
documentation priorities.
Doug
_______________________________________________
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