//
//  SMUGAudioGraph.h
//  OpenCLCapoTest
//
//  Created by Christopher Liscio on 3/25/10.
//  Copyright 2010 SuperMegaUltraGroovy. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <AudioUnit/AudioUnit.h>
#import <AudioToolbox/AudioToolbox.h>

@interface SMUGAudioGraph : NSObject {
    AUGraph mGraph;
}

@property (readonly,assign) AUGraph graph;

- (AUNode)addNodeWithType:(OSType)type subType:(OSType)subType manufacturer:(OSType)manufacturer error:(NSError**)error;
- (AudioUnit)audioUnitForNode:(AUNode)node error:(NSError**)oError;

@end
