#import <SndAudioUnitController.h>
Public Member Functions | |
(id) | - initWithAudioProcessor: |
Initialises a view instance with a given AudioUnit Processor. | |
(SndAudioUnitProcessor *) | - audioUnitProcessor |
Returns the audio unit processor this SndAudioUnitController is controlling. | |
(NSWindow *) | - window |
Returns the window displaying and managing the window. | |
Protected Attributes | |
AudioUnitCarbonView | carbonView |
WindowRef | auWindow |
NSWindow * | cocoaAUWindow |
SndAudioUnitProcessor * | audioUnitProcessor |
Does this model one connection of a AudioUnitCarbonView instance to a SndAudioUnitProcessor instance? Several? Controls the display of an Audio Unit view.
If it's a Cocoa view, load it from it's bundle and return it. If it's a Carbon View, start it up in a separate window. Probably rename SndAudioUnitController, and normally create or be assigned a Cocoa window or a Carbon window.
- (id) initWithAudioProcessor: | (SndAudioUnitProcessor *) | processor |
Initialises a view instance with a given AudioUnit Processor.
Responsible for loading the user interface and displaying it either in a separate window (Carbon) or initialising it ready for incorporation within another view (Cocoa).
Returns the audio unit processor this SndAudioUnitController is controlling.
- (AudioUnitCarbonView) carbonView [protected] |
The handle onto the AudioUnitCarbonView
- (WindowRef) auWindow [protected] |
The handle onto the Carbon window loaded from the Carbon nib file.
- (NSWindow*) cocoaAUWindow [protected] |
The NSWindow instance that will wrap a Carbon window if the nib file is Carbon or will be a Cocoa window that contains the Cocoa Audio Unit user interface instance.
- (SndAudioUnitProcessor*) audioUnitProcessor [protected] |
The AudioUnit SndAudioProcessor instance this instance controls.