Browse Source

Added cmSerialPort.h include dependency to many files.

master
kevin.larke 4 years ago
parent
commit
bc901415ac

+ 1
- 0
dsp/cmDspBuiltIn.c View File

27
 #include "cmThread.h"
27
 #include "cmThread.h"
28
 #include "cmUdpPort.h"
28
 #include "cmUdpPort.h"
29
 #include "cmUdpNet.h"
29
 #include "cmUdpNet.h"
30
+#include "cmSerialPort.h"
30
 #include "cmTime.h"
31
 #include "cmTime.h"
31
 #include "cmAudioSys.h"
32
 #include "cmAudioSys.h"
32
 #include "cmDspSys.h"
33
 #include "cmDspSys.h"

+ 3
- 2
dsp/cmDspClass.c View File

15
 #include "cmThread.h"
15
 #include "cmThread.h"
16
 #include "cmUdpPort.h"
16
 #include "cmUdpPort.h"
17
 #include "cmUdpNet.h"
17
 #include "cmUdpNet.h"
18
+#include "cmSerialPort.h"
18
 #include "cmTime.h"
19
 #include "cmTime.h"
19
 #include "cmAudioSys.h"
20
 #include "cmAudioSys.h"
20
 #include "cmProcObj.h"
21
 #include "cmProcObj.h"
128
     }
129
     }
129
 
130
 
130
     // determine the space needed for matrices of known size
131
     // determine the space needed for matrices of known size
131
-    if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn) )
132
+    if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn)>0 )
132
     {
133
     {
133
       unsigned n = cmDsvByteCount( flags, rn, argV[i].cn );
134
       unsigned n = cmDsvByteCount( flags, rn, argV[i].cn );
134
       varDataByteCnt += n;
135
       varDataByteCnt += n;
238
     }
239
     }
239
 
240
 
240
     // assign memory to the matrix types of known size
241
     // assign memory to the matrix types of known size
241
-    if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn) )
242
+    if( cmIsFlag(flags,kMtxDsvFl) && (rn*argV[i].cn)>0 )
242
     {
243
     {
243
       cmDsvSetMtx(  &ip->varArray[i].value, flags, varDataPtr, rn, argV[i].cn );
244
       cmDsvSetMtx(  &ip->varArray[i].value, flags, varDataPtr, rn, argV[i].cn );
244
       unsigned n = cmDsvByteCount( flags, rn, argV[i].cn );
245
       unsigned n = cmDsvByteCount( flags, rn, argV[i].cn );

+ 1
- 0
dsp/cmDspFx.c View File

22
 #include "cmThread.h" 
22
 #include "cmThread.h" 
23
 #include "cmUdpPort.h"
23
 #include "cmUdpPort.h"
24
 #include "cmUdpNet.h"
24
 #include "cmUdpNet.h"
25
+#include "cmSerialPort.h"
25
 #include "cmTime.h"
26
 #include "cmTime.h"
26
 #include "cmAudioSys.h"
27
 #include "cmAudioSys.h"
27
 #include "cmProcObj.h"
28
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspNet.c View File

16
 #include "cmThread.h"
16
 #include "cmThread.h"
17
 #include "cmUdpPort.h"
17
 #include "cmUdpPort.h"
18
 #include "cmUdpNet.h"
18
 #include "cmUdpNet.h"
19
+#include "cmSerialPort.h"
19
 #include "cmTime.h"
20
 #include "cmTime.h"
20
 #include "cmAudioSys.h"
21
 #include "cmAudioSys.h"
21
 #include "cmProcObj.h"
22
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspPgm.c View File

17
 #include "cmThread.h"
17
 #include "cmThread.h"
18
 #include "cmUdpPort.h"
18
 #include "cmUdpPort.h"
19
 #include "cmUdpNet.h"
19
 #include "cmUdpNet.h"
20
+#include "cmSerialPort.h"
20
 #include "cmTime.h"
21
 #include "cmTime.h"
21
 #include "cmAudioSys.h"
22
 #include "cmAudioSys.h"
22
 #include "cmProcObj.h"
23
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspPgmKr.c View File

19
 #include "cmThread.h"
19
 #include "cmThread.h"
20
 #include "cmUdpPort.h"
20
 #include "cmUdpPort.h"
21
 #include "cmUdpNet.h"
21
 #include "cmUdpNet.h"
22
+#include "cmSerialPort.h"
22
 #include "cmTime.h"
23
 #include "cmTime.h"
23
 #include "cmAudioSys.h"
24
 #include "cmAudioSys.h"
24
 #include "cmProcObj.h"
25
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspPgmKrChain.c View File

18
 #include "cmUdpPort.h"
18
 #include "cmUdpPort.h"
19
 #include "cmUdpNet.h"
19
 #include "cmUdpNet.h"
20
 #include "cmTime.h"
20
 #include "cmTime.h"
21
+#include "cmSerialPort.h"
21
 #include "cmAudioSys.h"
22
 #include "cmAudioSys.h"
22
 #include "cmProcObj.h"
23
 #include "cmProcObj.h"
23
 #include "cmDspCtx.h"
24
 #include "cmDspCtx.h"

+ 1
- 0
dsp/cmDspPgmKrChain2.c View File

17
 #include "cmThread.h"
17
 #include "cmThread.h"
18
 #include "cmUdpPort.h"
18
 #include "cmUdpPort.h"
19
 #include "cmUdpNet.h"
19
 #include "cmUdpNet.h"
20
+#include "cmSerialPort.h"
20
 #include "cmTime.h"
21
 #include "cmTime.h"
21
 #include "cmAudioSys.h"
22
 #include "cmAudioSys.h"
22
 #include "cmProcObj.h"
23
 #include "cmProcObj.h"

+ 2
- 1
dsp/cmDspPgmKrTimeLineLite.c View File

19
 #include "cmThread.h"
19
 #include "cmThread.h"
20
 #include "cmUdpPort.h"
20
 #include "cmUdpPort.h"
21
 #include "cmUdpNet.h"
21
 #include "cmUdpNet.h"
22
+#include "cmSerialPort.h"
22
 #include "cmTime.h"
23
 #include "cmTime.h"
23
 #include "cmAudioSys.h"
24
 #include "cmAudioSys.h"
24
 #include "cmProcObj.h"
25
 #include "cmProcObj.h"
61
   cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 0);
62
   cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 0);
62
   cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 1);
63
   cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 1);
63
   //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "MOTU - Traveler mk3", "MIDI Port");
64
   //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "MOTU - Traveler mk3", "MIDI Port");
64
-  cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "Apple Inc. - IAC Driver", "Bus 1");
65
+  //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "Apple Inc. - IAC Driver", "Bus 1");
65
   
66
   
66
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
67
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
67
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );
68
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );

+ 1
- 0
dsp/cmDspPgmKrTksb.c View File

17
 #include "cmThread.h"
17
 #include "cmThread.h"
18
 #include "cmUdpPort.h"
18
 #include "cmUdpPort.h"
19
 #include "cmUdpNet.h"
19
 #include "cmUdpNet.h"
20
+#include "cmSerialPort.h"
20
 #include "cmTime.h"
21
 #include "cmTime.h"
21
 #include "cmAudioSys.h"
22
 #include "cmAudioSys.h"
22
 #include "cmProcObj.h"
23
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspPgmPP.c View File

17
 #include "cmThread.h"
17
 #include "cmThread.h"
18
 #include "cmUdpPort.h"
18
 #include "cmUdpPort.h"
19
 #include "cmUdpNet.h"
19
 #include "cmUdpNet.h"
20
+#include "cmSerialPort.h"
20
 #include "cmTime.h"
21
 #include "cmTime.h"
21
 #include "cmAudioSys.h"
22
 #include "cmAudioSys.h"
22
 #include "cmProcObj.h"
23
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspPgmPPMain.c View File

17
 #include "cmThread.h"
17
 #include "cmThread.h"
18
 #include "cmUdpPort.h"
18
 #include "cmUdpPort.h"
19
 #include "cmUdpNet.h"
19
 #include "cmUdpNet.h"
20
+#include "cmSerialPort.h"
20
 #include "cmTime.h"
21
 #include "cmTime.h"
21
 #include "cmAudioSys.h"
22
 #include "cmAudioSys.h"
22
 #include "cmProcObj.h"
23
 #include "cmProcObj.h"

+ 1
- 0
dsp/cmDspUi.c View File

19
 #include "cmThread.h"
19
 #include "cmThread.h"
20
 #include "cmUdpPort.h"
20
 #include "cmUdpPort.h"
21
 #include "cmUdpNet.h"
21
 #include "cmUdpNet.h"
22
+#include "cmSerialPort.h"
22
 #include "cmTime.h"
23
 #include "cmTime.h"
23
 #include "cmAudioSys.h"
24
 #include "cmAudioSys.h"
24
 
25
 

Loading…
Cancel
Save