00001 00002 // 00003 // $Id: SndAudioUnitController.h 3634 2009-10-20 08:39:18Z leighsmith $ 00004 // 00005 // Original Author: Leigh Smith, <leigh@leighsmith.com> 00006 // 00007 // Copyright (c) 2004, The MusicKit Project. All rights reserved. 00008 // 00009 // Permission is granted to use and modify this code for commercial and 00010 // non-commercial purposes so long as the author attribution and copyright 00011 // messages remain intact and accompany all relevant code. 00012 // 00014 00015 #import <Foundation/Foundation.h> 00016 #import "SndAudioUnitProcessor.h" 00017 #import <AudioUnit/AudioUnitCarbonView.h> 00018 00032 @interface SndAudioUnitController : NSObject 00033 { 00035 AudioUnitCarbonView carbonView; 00037 WindowRef auWindow; 00041 NSWindow *cocoaAUWindow; 00043 SndAudioUnitProcessor *audioUnitProcessor; 00044 } 00045 00052 - initWithAudioProcessor: (SndAudioUnitProcessor *) processor; 00053 00058 - (SndAudioUnitProcessor *) audioUnitProcessor; 00059 00063 - (NSWindow *) window; 00064 00065 - (void) reinitializeController; 00066 00067 @end