0

Im trying to use code from these 2 links (pretty much the same LINK1 LINK2). But neither work even with the second link being an apple prog guide.

Like I said the actual error is "use of undeclared identifier" on many of the data types. To keep this a little shorter I will just show the top 2 data types.

 AudioComponentInstance audioUnit;
 AudioComponentDescription desc;

From the searching I have done these should be this which says they are in the AudioUnit framework. AudioUnit.framework is added to my "link binarys with libraries" so I dont understand why these data types are not found.

owen gerig
  • 6,165
  • 6
  • 52
  • 91

1 Answers1

0

Per the comments above i was not importing the header. I needed to add

#import <AudioUnit/AudioUnit.h>
owen gerig
  • 6,165
  • 6
  • 52
  • 91