Pārlūkot izejas kodu

cmDspPgmKr.c - Changed cmDspSysPgm_TimeLine().

master
kevin 11 gadus atpakaļ
vecāks
revīzija
39bb4104c7
1 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 7
    7
      dsp/cmDspPgmKr.c

+ 7
- 7
dsp/cmDspPgmKr.c Parādīt failu

63
   cmCtx_t*        cmCtx      = cmDspSysPgmCtx(h);
63
   cmCtx_t*        cmCtx      = cmDspSysPgmCtx(h);
64
   cmErr_t         err;
64
   cmErr_t         err;
65
   krRsrc_t        r;
65
   krRsrc_t        r;
66
-  unsigned        wtLoopCnt  = -1;                            // play once (do not loop)
66
+  unsigned        wtLoopCnt  = 1;                           // 1=play once (-1=loop forever)
67
   unsigned        wtInitMode = 0;                            // initial wt mode is 'silence'
67
   unsigned        wtInitMode = 0;                            // initial wt mode is 'silence'
68
   unsigned        wtSmpCnt   = floor(cmDspSysSampleRate(h)); // wt length == srate
68
   unsigned        wtSmpCnt   = floor(cmDspSysSampleRate(h)); // wt length == srate
69
 
69
 
127
   cmDspSysInstallCb(h, tlp, "mfn",  mfp, "fn",    NULL );
127
   cmDspSysInstallCb(h, tlp, "mfn",  mfp, "fn",    NULL );
128
 
128
 
129
   // score to score follower - to set initial search location
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
   // MIDI file player to score-follower and score - the order of connections is the same
133
   // MIDI file player to score-follower and score - the order of connections is the same
134
   // as the msg transmision order from MFP
134
   // as the msg transmision order from MFP
135
   cmDspSysInstallCb(h, mfp, "smpidx", scp, "smpidx", NULL );
135
   cmDspSysInstallCb(h, mfp, "smpidx", scp, "smpidx", NULL );
136
   cmDspSysInstallCb(h, mfp, "d1",     scp, "d1",     NULL );
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
   cmDspSysInstallCb(h, mfp, "d0",     scp, "d0",     NULL );
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
   cmDspSysInstallCb(h, mfp, "status", scp, "status", NULL );
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
   // score follower to score
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
   // Printer connections
148
   // Printer connections
149
   cmDspSysInstallCb(h, tlp, "afn",  prp, "in",  NULL );
149
   cmDspSysInstallCb(h, tlp, "afn",  prp, "in",  NULL );
150
   cmDspSysInstallCb(h, tlp, "mfn",  prp, "in",  NULL );
150
   cmDspSysInstallCb(h, tlp, "mfn",  prp, "in",  NULL );
151
   cmDspSysInstallCb(h, tlp, "sel",  prp, "in",  NULL );
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
   //cmDspSysInstallCb(h, scp, "even", pre, "in", NULL );
154
   //cmDspSysInstallCb(h, scp, "even", pre, "in", NULL );
155
   //cmDspSysInstallCb(h, scp, "dyn",  prd, "in", NULL );
155
   //cmDspSysInstallCb(h, scp, "dyn",  prd, "in", NULL );

Notiek ielāde…
Atcelt
Saglabāt