SndAudioUnitController Class Reference

Responsible for receiving user interface messages from the Cocoa or Carbon Audio Unit views and passing them down to the Audio Unit (which is wrapped within the SndAudioUnitProcessor). Receives buttons for bypassing an effect. More...

#import <SndAudioUnitController.h>

List of all members.

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
SndAudioUnitProcessoraudioUnitProcessor


Detailed Description

Responsible for receiving user interface messages from the Cocoa or Carbon Audio Unit views and passing them down to the Audio Unit (which is wrapped within the SndAudioUnitProcessor). Receives buttons for bypassing an effect.

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.


Member Function Documentation

- (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.

Returns:
Returns an autoreleased SndAudioUnitProcessor instance.


Member Data Documentation

- (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.

The AudioUnit SndAudioProcessor instance this instance controls.


The documentation for this class was generated from the following file:

Generated on Sat Dec 5 17:01:16 2009 for MusicKit by  doxygen 1.5.6