I am having trouble getting a project using AudioUnit.h to compile. I made a simple test project to try to locate the error. Here is the .h file:
I've added the AudioUnit framework. I get "syntax error before AudioComponentInstance". In my real project I get a lot of "undeclared . . ." messages as well. What's going on?
Code:
#import <Cocoa/Cocoa.h>
#import <AudioUnit/AudioUnit.h>
@interface THController : NSObject {
AudioComponentInstance x;
}
@end
I've added the AudioUnit framework. I get "syntax error before AudioComponentInstance". In my real project I get a lot of "undeclared . . ." messages as well. What's going on?