MusicKit  0.0.0
dspwrap.h
00001 /*
00002   $Id$
00003   Defined In: The MusicKit
00004  
00005   Description:
00006     The following is the UnitGenerator's interface with the MC56001. You
00007     never need to deal with these structures. They are generated automatically
00008     by the utility dspwrap.
00009  
00010  Copyright 1988-1992, NeXT Inc.  All rights reserved.
00011  Portions Copyright 1999-2005 The MusicKit Project.
00012 */
00013 #ifndef __MK_dspwrap_H___
00014 #define __MK_dspwrap_H___
00015 
00024 typedef struct _MKMasterUGStruct {
00026     unsigned argCount;
00028     int symCount[DSP_LC_NUM];
00030     int fixupCount[DSP_LC_NUM_P];
00032     DSPSymbol *symbols[DSP_LC_NUM];
00034     DSPSymbol *argSymbols;
00036     void *reserved;
00037 } MKMasterUGStruct;
00038 
00045 typedef struct _MKLeafUGStruct {
00047     MKOrchMemStruct reso;
00050     double computeTime;
00052     id **availLists;
00054     DSPDataRecord *data[DSP_LC_NUM];
00056     DSPFixup *fixups[DSP_LC_NUM_P];
00059     DSPMemorySpace *argSpaces;
00061     MKMasterUGStruct *master;
00063     int reserved1;                  
00065     double offChipComputeTime;
00067     void *reserved2;
00068 } MKLeafUGStruct;
00069 
00070 extern void MKInitUnitGeneratorClass(MKLeafUGStruct *classInfo);
00071 /* Unit Generator initialization (used in files generated by dspwrap). */
00072 
00073 #define MK_2COMPUTETIMES 0x322e30   /* This is a magic number that signals
00074                                        we have 2 compute times, one for
00075                                        on-chip and one for off-chip. This
00076                                        feature is supported in the release 2.0
00077                                        dspwrap */
00078 
00079 
00080 
00081 #endif