Re: Walking parameter lists safely
Re: Walking parameter lists safely
- Subject: Re: Walking parameter lists safely
- From: Jeff Moore <email@hidden>
- Date: Wed, 12 Nov 2003 15:57:21 -0800
You folks might want to check out the Panther SDK. In
/Developer/Examples/CoreAudio/PublicUtility are lots of C++ utility
classes for dealing with things from the CPU's time base, pthreads, and
CoreFoundation to the HAL and AudioUnits. Internally, we use pretty
much all the code in PublicUtility in the implementation of pretty much
all of our stuff, from the frameworks and components to the sample
code.
While far from complete, the code in PublicUtility is a great start on
a lot of what you would need to do to use the CoreAudio APIs.
On Nov 12, 2003, at 3:00 PM, Marc Poirier wrote:
That would be very nice (re: the swiki idea). I think in a broader
way,
it would be really great if there was an AU host SDK kind of like what
we
have with the AU plugin SDK. It would not be hard at all to at least
make
a bunch of nice wrapper functions to each property for getting and
setting, and perhaps better yet, an AU instance class for bundling it
all
up. I've thought of doing somthing like that, but been too motivated
yet
(plus maybe it's something that the CoreAudio folks are planning, which
would be nicer anyway)...
Marc
On Wed, 12 Nov 2003, Robert Grant wrote:
Hi Marc,
Yeah - I wasn't dividing by the sizeof the parameter list. I must
admit
that every time I approach a "GetProperty" function I always feel that
I'm stepping into potential trouble.
You know what - I'm going to put a page on the Swiki that illustrates
the correct way to get and set the properties - I probably won't be
able to list them all but I'll make a start. But there's enough
variation that I think it would be v. useful.
Robert.
_______________________________________________
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.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.