cmAudioPort.c : Enable the input and output channels on the selected devices in cmApPortTest().
This commit is contained in:
parent
7630f0a453
commit
e9e405f4a9
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user