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