Selaa lähdekoodia

Added cmSerialPort.h include dependency to many files.

master
kevin.larke 4 vuotta sitten
vanhempi
commit
bc901415ac

+ 1
- 0
dsp/cmDspBuiltIn.c Näytä tiedosto

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

+ 3
- 2
dsp/cmDspClass.c Näytä tiedosto

@@ -15,6 +15,7 @@
15 15
 #include "cmThread.h"
16 16
 #include "cmUdpPort.h"
17 17
 #include "cmUdpNet.h"
18
+#include "cmSerialPort.h"
18 19
 #include "cmTime.h"
19 20
 #include "cmAudioSys.h"
20 21
 #include "cmProcObj.h"
@@ -128,7 +129,7 @@ void* cmDspInstAllocate(
128 129
     }
129 130
 
130 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 134
       unsigned n = cmDsvByteCount( flags, rn, argV[i].cn );
134 135
       varDataByteCnt += n;
@@ -238,7 +239,7 @@ void* cmDspInstAllocate(
238 239
     }
239 240
 
240 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 244
       cmDsvSetMtx(  &ip->varArray[i].value, flags, varDataPtr, rn, argV[i].cn );
244 245
       unsigned n = cmDsvByteCount( flags, rn, argV[i].cn );

+ 1
- 0
dsp/cmDspFx.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspNet.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspPgm.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspPgmKr.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspPgmKrChain.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspPgmKrChain2.c Näytä tiedosto

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

+ 2
- 1
dsp/cmDspPgmKrTimeLineLite.c Näytä tiedosto

@@ -19,6 +19,7 @@
19 19
 #include "cmThread.h"
20 20
 #include "cmUdpPort.h"
21 21
 #include "cmUdpNet.h"
22
+#include "cmSerialPort.h"
22 23
 #include "cmTime.h"
23 24
 #include "cmAudioSys.h"
24 25
 #include "cmProcObj.h"
@@ -61,7 +62,7 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
61 62
   cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 0);
62 63
   cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 1);
63 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 67
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
67 68
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );

+ 1
- 0
dsp/cmDspPgmKrTksb.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspPgmPP.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspPgmPPMain.c Näytä tiedosto

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

+ 1
- 0
dsp/cmDspUi.c Näytä tiedosto

@@ -19,6 +19,7 @@
19 19
 #include "cmThread.h"
20 20
 #include "cmUdpPort.h"
21 21
 #include "cmUdpNet.h"
22
+#include "cmSerialPort.h"
22 23
 #include "cmTime.h"
23 24
 #include "cmAudioSys.h"
24 25
 

Loading…
Peruuta
Tallenna