From e9e405f4a91b17c3bc81e0e86bc7340669c44d1c Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 19 Jul 2020 08:00:20 -0400 Subject: [PATCH] cmAudioPort.c : Enable the input and output channels on the selected devices in cmApPortTest(). --- cmAudioPort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 )