|
@@ -103,10 +103,19 @@ cmDspRC_t _cmDspSysPgm_Stereo_Through( cmDspSysH_t h, void** userPtrPtr )
|
103
|
103
|
cmDspSysConnectAudio(h, ai0p, "out", im0p, "in"); //ain0 -> imtr0
|
104
|
104
|
cmDspSysConnectAudio(h, ai1p, "out", im1p, "in"); //ain1 -> imtr1
|
105
|
105
|
|
106
|
|
- cmDspSysInstallCb( h, hzp, "val", php, "mult", NULL); // hz -> phs
|
107
|
|
- cmDspSysConnectAudio(h, php, "out", wtp, "phs" ); // phs -> wt
|
108
|
|
- cmDspSysConnectAudio(h, wtp, "out", ao0p, "in" ); // wt -> aout0
|
109
|
|
- cmDspSysConnectAudio(h, wtp, "out", om0p, "in" ); // wt -> omtr0
|
|
106
|
+ if(0)
|
|
107
|
+ {
|
|
108
|
+ cmDspSysInstallCb( h, hzp, "val", php, "mult", NULL); // hz -> phs
|
|
109
|
+ cmDspSysConnectAudio(h, php, "out", wtp, "phs" ); // phs -> wt
|
|
110
|
+ cmDspSysConnectAudio(h, wtp, "out", ao0p, "in" ); // wt -> aout0
|
|
111
|
+ cmDspSysConnectAudio(h, wtp, "out", om0p, "in" ); // wt -> omtr0
|
|
112
|
+ }
|
|
113
|
+ else
|
|
114
|
+ {
|
|
115
|
+ cmDspSysInstallCb( h, ignp,"val", ai0p, "gain", NULL); // igain -> ain0
|
|
116
|
+ cmDspSysConnectAudio(h, ai0p,"out", ao0p, "in" ); // ain0 -> aout0
|
|
117
|
+ cmDspSysConnectAudio(h, ai0p,"out", om0p, "in" ); // ain0 -> omtr0
|
|
118
|
+ }
|
110
|
119
|
|
111
|
120
|
cmDspSysInstallCb( h, ignp,"val", ai1p, "gain", NULL); // igain -> ain1
|
112
|
121
|
cmDspSysConnectAudio(h, ai1p,"out", ao1p, "in" ); // ain1 -> aout1
|