From bc901415acef24bf4a73c4d5d6e5830a796ce121 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Fri, 21 Feb 2020 15:43:19 -0500 Subject: [PATCH] Added cmSerialPort.h include dependency to many files. --- dsp/cmDspBuiltIn.c | 1 + dsp/cmDspClass.c | 5 +++-- dsp/cmDspFx.c | 1 + dsp/cmDspNet.c | 1 + dsp/cmDspPgm.c | 1 + dsp/cmDspPgmKr.c | 1 + dsp/cmDspPgmKrChain.c | 1 + dsp/cmDspPgmKrChain2.c | 1 + dsp/cmDspPgmKrTimeLineLite.c | 3 ++- dsp/cmDspPgmKrTksb.c | 1 + dsp/cmDspPgmPP.c | 1 + dsp/cmDspPgmPPMain.c | 1 + dsp/cmDspUi.c | 1 + 13 files changed, 16 insertions(+), 3 deletions(-) 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"