/* ---------------------------------------------------------------------------- | GenMonCIN.h | | Author : Terry Leach | Revision: 8/21/03 Initial creation Purpose : Our main interface between the GenMon 2 application and the ASIO complient sound driver. This will be embeded in the ASIO.vi file. */ #include "extcode.h" // LabView interface calls #ifndef _GENMON_ #define _GENMON_ // Quick testing of ControlWord values #define CW_START 1 // Starts sound system #define CW_TX ( CW_START << 1 ) // Transmits waveforms #define CW_MEAS ( CW_TX << 1 ) // Measures waveforms #define CW_STOP ( CW_MEAS << 1 ) // Stops the sound system #define CW_QUERY ( CW_STOP << 1 ) // Queries sound buffer status #define CW_LAST ( CW_QUERY << 1 ) #define ALLOW_OPS ( (CW_LAST - 1) ^ CW_START ) typedef struct { int32 numWaves; int32 len; float32 val[1]; } WAVESDA; typedef WAVESDA **hWAVESDA; typedef struct { int32 numWaves; int32 len; int32 bitVal[1]; } WAVESAD; typedef WAVESAD **hWAVESAD; #endif