Re: kAudioOutputUnitProperty_EnableIO
Re: kAudioOutputUnitProperty_EnableIO
- Subject: Re: kAudioOutputUnitProperty_EnableIO
- From: Daniel Todd Currie <email@hidden>
- Date: Sun, 9 May 2004 10:19:56 -0700
I'm bringing this thread over to xcode-users from coreaudio-api,
because it seems to be shaping up to be an Xcode problem...
I consistently get the following gcc compiler error:
error: `kAudioOutputUnitProperty_EnableIO' undeclared (first use in
this function)
kAudioOutputUnitProperty_EnableIO is found in the AudioUnitProperties.h
file in the AudioUnit framework.
I've checked the headers for the AudioUnit framework that I have
imported and kAudioOutputUnitProperty_EnableIO is there. Other AU
Properties don't turn up errors, like
kAudioOutputUnitProperty_CurrentDevice. I have installed the CA SDK
1.3.1 and am using Xcode 1.2. Anyone have a similar problem? How
could one property cause an error while the others in the same header
do not?
TIAA,
-- Daniel Currie
On 2004 May 04, at 22:45, Daniel Todd Currie wrote:
I completely deleted my primary build folder, which contains all
intermediate build files and the precompiled header. Still no dice...
I checked the headers at
/System/Library/Frameworks/AudioUnit.framework/Headers, and they
contain kAudioOutputUnitProperty_EnableIO, so I assume they are up to
date, or should at least work. Doesn't this mean they installed
correctly?
So it sounds like I should perhaps transfer this thread over to the
xcode-users list or something, unless you can think of any other way
the CoreAudio frameworks could be responsible for this error. Thanks
for your attention so far.
-- Daniel
On 2004 May 04, at 14:41, Doug Wyatt wrote:
Are the new AudioUnit framework headers in
/System/Library/Frameworks/AudioUnit.framework/Headers ? They should
be. Either the new headers aren't installed correctly, or Xcode has
cached the old ones somehow. Are you using a precompiled header? You
might find and delete your intermediate build directory ...
Doug
On May 4, 2004, at 12:01, Daniel Todd Currie wrote:
I've done as you suggested and still have the same error. From your
suggestion, I might assume that kAudioOutputUnitProperty_EnableIO is
new to the CA SDK v1.3.1. Is this assumption correct? Perhaps I
need to review my installation of CA; I had simply figured that if
one constant works and the other does not, that there must be
something more serious involved.
Also, if I can't get it to compile, would it be advisable to create
my own AudioUnitPropertyID with a value of 2003, and just pass that
to AudioUnitSetProperty()? It would be a god-awful kludge, but I'm
not distributing the source or anything... ;)
On 2004 May 04, at 11:41, Doug Wyatt wrote:
Try hunting down and deleting any SharedCaches folder in your build
directory. I'm not certain that Xcode 1.2 is perfect in its
detection of when system framework headers change. Please let us
know if this solves the problem.
Doug
On May 2, 2004, at 23:28, Daniel Todd Currie wrote:
I consistently get the following gcc compiler error:
error: `kAudioOutputUnitProperty_EnableIO' undeclared (first use
in this function)
I've checked the headers for the AudioUnit framework that I have
imported and kAudioOutputUnitProperty_EnableIO is there. Other AU
Properties don't turn up errors, like
kAudioOutputUnitProperty_CurrentDevice. I have installed the CA
SDK 1.3.1 and am using Xcode 1.2. Anyone have a similar problem?
How could one property cause an error while the others in the same
header do not?
I realize compiler errors are not probably the favorite topic
around here, but I'm not sure who else to talk to.
TIAA,
-- Daniel Currie
_______________________________________________
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.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.