MusicKit  0.0.0
OrchestraPrivate.h
00001 /* Copyright 1988-1992, NeXT Inc.  All rights reserved. */
00002 /*
00003   $Id$
00004   Defined In: The MusicKit
00005 */
00006 /*
00007 Modification history:
00008 
00009   $Log$
00010   Revision 2.1  2006/02/05 17:57:10  leighsmith
00011   Cleaned up prototypes for Xcode 2.2 as it is much more strict about mixing id with a defined type
00012 
00013   Revision 2.0  2004/12/06 18:09:03  leighsmith
00014   Beginning of rewrite to use the SndKit for native synthesis
00015 
00016   Revision 1.5  2001/09/06 21:27:48  leighsmith
00017   Merged RTF Reference documentation into headerdoc comments and prepended MK to any older class names
00018 
00019   Revision 1.4  2000/05/06 00:58:14  leigh
00020   typed parameters to reduce warnings
00021 
00022   Revision 1.3  2000/04/01 22:11:01  leigh
00023   Fixed warnings from finicky compilers
00024 
00025   Revision 1.2  1999/07/29 01:25:54  leigh
00026   Added Win32 compatibility, CVS logs, SBs changes
00027 
00028   4/26/90/daj - For a bit of efficiency, changed _MKTrace() to direct ref 
00029                 to _MKTraceFlag, since _MKTraceFlag is, indeed, a 
00030                 "private extern". Might want to do the same for
00031                 _MKGetOrchSimulator (using @defs)
00032 */
00033 #ifndef __MK__Orchestra_H___
00034 #define __MK__Orchestra_H___
00035 
00036 #import "_DSPMK.h"
00037 
00038 #import "MKOrchestra.h"
00039 
00040 #define _MK_ORCHTRACE(_orch,_debugFlag) \
00041   ((_MKTraceFlag & _debugFlag) || (_MKGetOrchSimulator(_orch)))
00042 
00043 /* MKOrchestra functions */
00044 extern id MKOrchestraClasses(void);
00045 extern void _MKOrchResetPreviousLosingTemplate(MKOrchestra *self);
00046 extern id _MKFreeMem(MKOrchestra *self, MKOrchAddrStruct *mem);
00047 extern int _MKAddTemplate(id aNewTemplate);
00048 extern FILE *_MKGetOrchSimulator();
00049 extern DSPFix48 *_MKCurSample(MKOrchestra *orch);
00050 extern void _MKOrchAddSynthIns(id anIns);
00051 extern void _MKOrchRemoveSynthIns(id anIns);
00052 extern BOOL _MKOrchLateDeltaTMode(MKOrchestra *theOrch); /* See MKOrchestra.m ***SIGH*** */
00053 
00054 @interface MKOrchestra(Private)
00055 
00056 +(NSMutableArray **)_addTemplate:aNewTemplate ;
00057 -_adjustOrchTE:(int)yesOrNo reset:(int)reset;
00058 -_notifyAbort;
00059 -_clearNotification;
00060 
00061 @end
00062 
00063 
00064 
00065 #endif