Re: Has AudioUnits actually been tried in carbon?
Re: Has AudioUnits actually been tried in carbon?
- Subject: Re: Has AudioUnits actually been tried in carbon?
- From: Doug Wyatt <email@hidden>
- Date: Thu, 27 Sep 2001 00:46:51 -0400
On Wednesday, September 26, 2001, at 11:46 , Brian Barnes wrote:
Even though I have no hope of figuring this out without an example, I
played around a bit more tonight.
Maybe somehow I have old documentation (5/18 last revision) or old
headers (no date, but "release" is MAC OS BETA!!!), but the headers
seem to be a mess. Maybe they are fixed in 10.1?
They are at least somewhat better ...
For instance, "AudioUnitReset" is defined, but "AudioUnitStart" is
not! I feel I might have a hard time w/o this function!
AudioOutputUnitStart is in AudioUnit/AudioOutputUnit.h.
Also, some of the structs, like "AudioUnitInputCallback" were not
typedef-ed (I did it myself in the C file, but that was a pain, I
thought they didn't exist!) As a matter of fact, a lot of struct in
"AudioUnitProperties.h" are not typedef-ed.
I guess this makes it painfully obvious that we use C++ internally, both
in the frameworks and the test code, because, yes, now that you've
pointed it out, I see that we neglected those typedefs to make things
work in C.
Is it even possible to use AudioUnits with the headers in this
condition?
Yes, but you will have to add your own typedefs.
BTW: This is not an attack on anybody at apple, I think you've done a
wonderful job with X, and there's a lot to do in just a little time, so
sometimes things fall through the cracks. I won't file a bug report
until I see 10.1 to find out if it's fixed there. I just don't want to
chase my tail if this is impossible.
The typedefs are missing in 10.1. Things should work well in 10.1 (much
better than 10.0), if you turn on the C++ compiler or add your own
typedefs.
If this is broke, and broke in 10.1, is it possible for us to get an
intern framework to fix these issues?
I've written a bug, so it will most certainly be fixed in a future
release, but I can't say when or what that might be.
Thanks for bringing this to our attention and I'm sorry it's caused you
problems.
Doug
--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden
http://www.sonosphere.com
"It's kind of fun to do the impossible."
-- Walt Disney