MusicKit
0.0.0
|
00001 /* Copyright 1988-1992, NeXT Inc. All rights reserved. */ 00002 /* 00003 $Id$ 00004 Defined In: The MusicKit 00005 */ 00006 /* 00007 $Log$ 00008 Revision 1.5 2006/02/05 17:57:10 leighsmith 00009 Cleaned up prototypes for Xcode 2.2 as it is much more strict about mixing id with a defined type 00010 00011 Revision 1.4 2005/04/15 04:18:25 leighsmith 00012 Cleaned up for gcc 4.0's more stringent checking of ObjC types 00013 00014 Revision 1.3 2001/09/06 21:27:48 leighsmith 00015 Merged RTF Reference documentation into headerdoc comments and prepended MK to any older class names 00016 00017 Revision 1.2 1999/07/29 01:25:58 leigh 00018 Added Win32 compatibility, CVS logs, SBs changes 00019 00020 */ 00021 #ifndef __MK__UnitGenerator_H___ 00022 #define __MK__UnitGenerator_H___ 00023 00024 #import "MKUnitGenerator.h" 00025 00026 /* Unit Generator functions */ 00027 extern id _MKFixupUG(MKUnitGenerator *self, DSPFix48 *ts); 00028 extern void _MKRerelocUG(MKUnitGenerator *self, MKOrchMemStruct *newReloc); 00029 extern void _MKBeginUGBlock(id anOrch, BOOL adjustIt); 00030 extern void _MKEndUGBlock(void); 00031 extern void _MKAdjustTimeIfNecessary(void); 00032 00033 /* Synth Element functions (defined in MKUnitGenerator) */ 00034 extern void _MKDeallocSynthElement(SynthElement *synthEl, BOOL shouldReset); 00035 extern void _MKDeallocSynthElementSafe(SynthElement *synthEl, BOOL lazy); 00036 extern void _MKProtectSynthElement(SynthElement *dataObj, BOOL protectIt); 00037 extern id _MKSetSynthElementSynthPatchLoc(SynthElement *synthEl, unsigned short loc); 00038 extern unsigned _MKGetSynthElementSynthPatchLoc(SynthElement *synthEl); 00039 00040 @interface MKUnitGenerator(Private) 00041 00042 - (MKOrchMemStruct *) _getRelocAndClassInfo: (MKLeafUGStruct **) classInfoPtr; 00043 - (MKOrchMemStruct *) _resources; 00044 + _allocFromList: (unsigned short) index; 00045 + _allocFirstAfter: (MKUnitGenerator *) anObj list: (unsigned short) index; 00046 + _allocFirstBefore: (MKUnitGenerator *) anObj list: (unsigned short) index; 00047 + _allocFirstAfter: (MKUnitGenerator *) anObj before: (MKUnitGenerator *) anObj2 list: (unsigned short) index; 00048 + (id) _newInOrch: (id) anOrch 00049 index: (unsigned short) whichDSP 00050 reloc: (MKOrchMemStruct *) reloc 00051 looper: (unsigned int) looper; 00052 - _free; 00053 - _deallocAndAddToList; 00054 - (MKOrchMemStruct *) _setSynthPatch: aSynthPatch; 00055 - (void) _setShared: aSharedKey; 00056 - (void) _addSharedSynthClaim; 00057 00058 @end 00059 00060 00061 00062 #endif