00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __MK__UnitGenerator_H___
00022 #define __MK__UnitGenerator_H___
00023
00024 #import "MKUnitGenerator.h"
00025
00026
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
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