Browse Source

cmDspPgmKr.c - Changed cmDspSysPgm_TimeLine().

master
kevin 12 years ago
parent
commit
39bb4104c7
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      dsp/cmDspPgmKr.c

+ 7
- 7
dsp/cmDspPgmKr.c View File

@@ -63,7 +63,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
63 63
   cmCtx_t*        cmCtx      = cmDspSysPgmCtx(h);
64 64
   cmErr_t         err;
65 65
   krRsrc_t        r;
66
-  unsigned        wtLoopCnt  = -1;                            // play once (do not loop)
66
+  unsigned        wtLoopCnt  = 1;                           // 1=play once (-1=loop forever)
67 67
   unsigned        wtInitMode = 0;                            // initial wt mode is 'silence'
68 68
   unsigned        wtSmpCnt   = floor(cmDspSysSampleRate(h)); // wt length == srate
69 69
 
@@ -127,29 +127,29 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
127 127
   cmDspSysInstallCb(h, tlp, "mfn",  mfp, "fn",    NULL );
128 128
 
129 129
   // score to score follower - to set initial search location
130
-  //cmDspSysInstallCb(h, scp, "sel",    sfp, "index",  NULL );
130
+  cmDspSysInstallCb(h, scp, "sel",    sfp, "index",  NULL );
131 131
   
132 132
 
133 133
   // MIDI file player to score-follower and score - the order of connections is the same
134 134
   // as the msg transmision order from MFP
135 135
   cmDspSysInstallCb(h, mfp, "smpidx", scp, "smpidx", NULL );
136 136
   cmDspSysInstallCb(h, mfp, "d1",     scp, "d1",     NULL );
137
-  //cmDspSysInstallCb(h, mfp, "d1",     sfp, "d1",     NULL );
137
+  cmDspSysInstallCb(h, mfp, "d1",     sfp, "d1",     NULL );
138 138
   cmDspSysInstallCb(h, mfp, "d0",     scp, "d0",     NULL );
139
-  //cmDspSysInstallCb(h, mfp, "d0",     sfp, "d0",     NULL );
139
+  cmDspSysInstallCb(h, mfp, "d0",     sfp, "d0",     NULL );
140 140
   cmDspSysInstallCb(h, mfp, "status", scp, "status", NULL );
141
-  //cmDspSysInstallCb(h, mfp, "status", sfp, "status", NULL );
141
+  cmDspSysInstallCb(h, mfp, "status", sfp, "status", NULL );
142 142
 
143 143
 
144 144
   // score follower to score
145
-  //cmDspSysInstallCb(h, sfp, "out",  scp, "loc", NULL );
145
+  cmDspSysInstallCb(h, sfp, "out",  scp, "loc", NULL );
146 146
 
147 147
 
148 148
   // Printer connections
149 149
   cmDspSysInstallCb(h, tlp, "afn",  prp, "in",  NULL );
150 150
   cmDspSysInstallCb(h, tlp, "mfn",  prp, "in",  NULL );
151 151
   cmDspSysInstallCb(h, tlp, "sel",  prp, "in",  NULL );
152
-  //cmDspSysInstallCb(h, sfp, "out",  prp, "in",     NULL );
152
+  cmDspSysInstallCb(h, sfp, "out",  prp, "in",     NULL );
153 153
 
154 154
   //cmDspSysInstallCb(h, scp, "even", pre, "in", NULL );
155 155
   //cmDspSysInstallCb(h, scp, "dyn",  prd, "in", NULL );

Loading…
Cancel
Save