diff --git a/dsp/cmDspBuiltIn.c b/dsp/cmDspBuiltIn.c index 065fc1e..c57b0a9 100644 --- a/dsp/cmDspBuiltIn.c +++ b/dsp/cmDspBuiltIn.c @@ -27,6 +27,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmDspSys.h" diff --git a/dsp/cmDspClass.c b/dsp/cmDspClass.c index e4b3b78..c82c475 100644 --- a/dsp/cmDspClass.c +++ b/dsp/cmDspClass.c @@ -15,6 +15,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" @@ -128,7 +129,7 @@ void* cmDspInstAllocate( } // determine the space needed for matrices of known size - if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn) ) + if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn)>0 ) { unsigned n = cmDsvByteCount( flags, rn, argV[i].cn ); varDataByteCnt += n; @@ -238,7 +239,7 @@ void* cmDspInstAllocate( } // assign memory to the matrix types of known size - if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn) ) + if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn)>0 ) { cmDsvSetMtx( &ip->varArray[i].value, flags, varDataPtr, rn, argV[i].cn ); unsigned n = cmDsvByteCount( flags, rn, argV[i].cn ); diff --git a/dsp/cmDspFx.c b/dsp/cmDspFx.c index ecefb27..5b7a860 100644 --- a/dsp/cmDspFx.c +++ b/dsp/cmDspFx.c @@ -22,6 +22,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspNet.c b/dsp/cmDspNet.c index a3fc466..7844a64 100644 --- a/dsp/cmDspNet.c +++ b/dsp/cmDspNet.c @@ -16,6 +16,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspPgm.c b/dsp/cmDspPgm.c index f22a217..1a95777 100644 --- a/dsp/cmDspPgm.c +++ b/dsp/cmDspPgm.c @@ -17,6 +17,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspPgmKr.c b/dsp/cmDspPgmKr.c index 68fa9bb..141a319 100644 --- a/dsp/cmDspPgmKr.c +++ b/dsp/cmDspPgmKr.c @@ -19,6 +19,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspPgmKrChain.c b/dsp/cmDspPgmKrChain.c index f16865d..e5661ba 100644 --- a/dsp/cmDspPgmKrChain.c +++ b/dsp/cmDspPgmKrChain.c @@ -18,6 +18,7 @@ #include "cmUdpPort.h" #include "cmUdpNet.h" #include "cmTime.h" +#include "cmSerialPort.h" #include "cmAudioSys.h" #include "cmProcObj.h" #include "cmDspCtx.h" diff --git a/dsp/cmDspPgmKrChain2.c b/dsp/cmDspPgmKrChain2.c index f54bc25..21aaf78 100644 --- a/dsp/cmDspPgmKrChain2.c +++ b/dsp/cmDspPgmKrChain2.c @@ -17,6 +17,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspPgmKrTimeLineLite.c b/dsp/cmDspPgmKrTimeLineLite.c index 2105a17..a9a54d1 100644 --- a/dsp/cmDspPgmKrTimeLineLite.c +++ b/dsp/cmDspPgmKrTimeLineLite.c @@ -19,6 +19,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" @@ -61,7 +62,7 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr ) cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 0); cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 1); //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "MOTU - Traveler mk3", "MIDI Port"); - cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "Apple Inc. - IAC Driver", "Bus 1"); + //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "Apple Inc. - IAC Driver", "Bus 1"); cmDspInst_t* tlp = cmDspSysAllocInst(h,"TimeLine", "tl", 2, r.tlFn, r.tlPrefixPath ); cmDspInst_t* scp = cmDspSysAllocInst(h,"Score", "sc", 1, r.scFn ); diff --git a/dsp/cmDspPgmKrTksb.c b/dsp/cmDspPgmKrTksb.c index 27a9d89..184e7a0 100644 --- a/dsp/cmDspPgmKrTksb.c +++ b/dsp/cmDspPgmKrTksb.c @@ -17,6 +17,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspPgmPP.c b/dsp/cmDspPgmPP.c index db1b651..6ce3886 100644 --- a/dsp/cmDspPgmPP.c +++ b/dsp/cmDspPgmPP.c @@ -17,6 +17,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspPgmPPMain.c b/dsp/cmDspPgmPPMain.c index 0be9642..c996ae7 100644 --- a/dsp/cmDspPgmPPMain.c +++ b/dsp/cmDspPgmPPMain.c @@ -17,6 +17,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h" #include "cmProcObj.h" diff --git a/dsp/cmDspUi.c b/dsp/cmDspUi.c index ad022d5..2aff36c 100644 --- a/dsp/cmDspUi.c +++ b/dsp/cmDspUi.c @@ -19,6 +19,7 @@ #include "cmThread.h" #include "cmUdpPort.h" #include "cmUdpNet.h" +#include "cmSerialPort.h" #include "cmTime.h" #include "cmAudioSys.h"