Browse Source

cmDspPgm.c: Changed default audio channels on _cmDspSysPgm_StereoThrough().

master
kevin 9 years ago
parent
commit
45504a586d
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      dsp/cmDspPgm.c

+ 5
- 5
dsp/cmDspPgm.c View File

@@ -260,12 +260,12 @@ cmDspRC_t _cmDspSysPgm_Stereo_Through( cmDspSysH_t h, void** userPtrPtr )
260 260
   cmDspInst_t* php =  cmDspSysAllocInst(h,"Phasor",   NULL,  0 );
261 261
   cmDspInst_t* wtp =  cmDspSysAllocInst(h,"WaveTable",NULL,  2, cmDspSysSampleRate(h), 2 );
262 262
 
263
-  cmDspInst_t* ai0p = cmDspSysAllocInst(h,"AudioIn", NULL,   1, 2 );
264
-  cmDspInst_t* ai1p = cmDspSysAllocInst(h,"AudioIn", NULL,   1, 3 );
263
+  cmDspInst_t* ai0p = cmDspSysAllocInst(h,"AudioIn", NULL,   1, 0 );
264
+  cmDspInst_t* ai1p = cmDspSysAllocInst(h,"AudioIn", NULL,   1, 1 );
265 265
    
266 266
   // MOTU Traveler: Use channels 2&3 (out plugs:3&4) because 0&1 do not show up on plugs 1&2.
267
-  cmDspInst_t* ao0p = cmDspSysAllocInst(h,"AudioOut",NULL,   1, 0 );
268
-  cmDspInst_t* ao1p = cmDspSysAllocInst(h,"AudioOut",NULL,   1, 1 );
267
+  cmDspInst_t* ao0p = cmDspSysAllocInst(h,"AudioOut",NULL,   1, 2 );
268
+  cmDspInst_t* ao1p = cmDspSysAllocInst(h,"AudioOut",NULL,   1, 3 );
269 269
 
270 270
   cmDspInst_t* im0p = cmDspSysAllocInst(h,"AMeter","In 0",  0);
271 271
   cmDspInst_t* im1p = cmDspSysAllocInst(h,"AMeter","In 1", 0);
@@ -369,7 +369,7 @@ cmDspRC_t _cmDspSysPgm_Stereo_Fx( cmDspSysH_t h, void** userPtrPtr )
369 369
 
370 370
 cmDspRC_t _cmDspSysPgm_PlaySine( cmDspSysH_t h, void** userPtrPtr )
371 371
 {
372
-  bool useBuiltInFl = true;
372
+  bool useBuiltInFl = false;
373 373
   double frqHz = 440.0;
374 374
 
375 375
   cmDspInst_t* chp = cmDspSysAllocInst( h,"Scalar", "Channel",  5, kNumberDuiId, 0.0,  100.0, 1.0,  0.0);

Loading…
Cancel
Save