|
@@ -746,7 +746,8 @@ int cmApPortTest( bool runFl, cmRpt_t* rpt, int argc, const char* argv[] )
|
746
|
746
|
if( r.inDevIdx != r.outDevIdx )
|
747
|
747
|
cmApBufSetup( r.inDevIdx, r.srate, r.framesPerCycle, r.bufCnt, cmApDeviceChannelCount(r.inDevIdx,true), r.framesPerCycle, cmApDeviceChannelCount(r.inDevIdx,false), r.framesPerCycle, srateMult );
|
748
|
748
|
|
749
|
|
- cmApBufEnableMeter( r.inDevIdx, -1, kEnableApFl );
|
|
749
|
+ cmApBufEnableMeter( r.inDevIdx, -1, kEnableApFl | kInApFl );
|
|
750
|
+ cmApBufEnableMeter( r.outDevIdx, -1, kEnableApFl | kOutApFl );
|
750
|
751
|
|
751
|
752
|
// setup an output device
|
752
|
753
|
if(cmApDeviceSetup(r.outDevIdx,r.srate,r.framesPerCycle,_cmApPortCb2,&r) != kOkApRC )
|