MusicKit  0.0.0
Mul2UG.h
00001 /*
00002   $Id$
00003   
00004   Defined In: The MusicKit
00005   Description:
00006     Mul2UG  - from dsp macro /usr/lib/dsp/ugsrc/mul2.asm (see source for details).
00007 
00008    Outputs the product of two input signals. 
00009    
00010    You allocate one of the subclasses Mul2UG<a><b><c>, where <a> is the output 
00011    space, <b> is the space of the first input and <c> is the space of the
00012    second input. 
00013 
00014   Original Author: David A. Jaffe
00015 
00016   Copyright (c) 1988-1992, NeXT Computer, Inc.
00017   Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT
00018   Portions Copyright (c) 1994 Stanford University.
00019   Portions Copyright (c) 1999-2001, The MusicKit Project.
00020 */
00021 // classgroup Patchpoint Arithmetic
00039 #ifndef __MK_Mul2UG_H___
00040 #define __MK_Mul2UG_H___
00041 
00042 #import <MusicKit/MKUnitGenerator.h>
00043 @interface Mul2UG:MKUnitGenerator
00044 
00052 +(BOOL)shouldOptimize:(unsigned) arg;
00053 
00063 -setInput1: (id) aPatchPoint;
00064 /* Sets input1 to specified patchPoint. */
00065 
00066 
00076 -setInput2: (id) aPatchPoint;
00077 /* Sets input2 to specified patchPoint. */
00078 
00079 
00089 -setOutput: (id) aPatchPoint;
00090 /* Sets output to specified patchPoint. */
00091 
00092 
00103 -idleSelf;
00104 /* Sets output to sink. */
00105 
00106 @end
00107 
00108 #endif