diff --git a/cmAudioPort.c b/cmAudioPort.c index 17c32d3..68e9a7e 100644 --- a/cmAudioPort.c +++ b/cmAudioPort.c @@ -746,7 +746,8 @@ int cmApPortTest( bool runFl, cmRpt_t* rpt, int argc, const char* argv[] ) if( r.inDevIdx != r.outDevIdx ) cmApBufSetup( r.inDevIdx, r.srate, r.framesPerCycle, r.bufCnt, cmApDeviceChannelCount(r.inDevIdx,true), r.framesPerCycle, cmApDeviceChannelCount(r.inDevIdx,false), r.framesPerCycle, srateMult ); - cmApBufEnableMeter( r.inDevIdx, -1, kEnableApFl ); + cmApBufEnableMeter( r.inDevIdx, -1, kEnableApFl | kInApFl ); + cmApBufEnableMeter( r.outDevIdx, -1, kEnableApFl | kOutApFl ); // setup an output device if(cmApDeviceSetup(r.outDevIdx,r.srate,r.framesPerCycle,_cmApPortCb2,&r) != kOkApRC )