MusicKit  0.0.0
_DSPMessage.h
00001 #ifndef __MK__DSPMessage_H___
00002 #define __MK__DSPMessage_H___
00003 /* Copyright 1988-1992, NeXT Inc.  All rights reserved. */
00004 
00005 int _DSPHostMessageTimed(DSPFix48 *aTimeStampP, int msg);
00006 /* 
00007  * Issue timed or untimed DSP "host message" (0 args) by issuing "xhm" 
00008  * host command.
00009  * 
00010  * This is private because it is assumed that there is enough room in the TMQ.
00011  * It is up to the caller to ensure this is true.
00012  */
00013 
00014 
00015 int _DSPCallTimedV(DSPFix48 *aTimeStampP,int hm_opcode,int nArgs,...);
00016 /*
00017  * Usage is int _DSPCallTimedV(aTimeStampP,hm_opcode,nArgs,arg1,...,ArgNargs);
00018  * Same as _DSPCallTimed() except that a variable number of host message 
00019  * arguments is specified explicitly in the argument list (using stdarg) 
00020  * rather than being passed in an array.
00021  */
00022 
00023 
00024 int _DSPResetTMQ(void);
00025 /*
00026  * Reset TMQ buffers to empty state and reset "current time" to 0.
00027  * Any waiting timed messages in the buffer are lost.
00028  */
00029 
00030 
00031 int _DSPForceIdle(void);
00032 /* 
00033  * Place DSP in the idle without any clean-up in the DSP.
00034  */
00035 
00036 #endif