|
@@ -6,6 +6,7 @@
|
6
|
6
|
#include "cmCtx.h"
|
7
|
7
|
#include "cmMem.h"
|
8
|
8
|
#include "cmMallocDebug.h"
|
|
9
|
+#include "cmTime.h"
|
9
|
10
|
#include "cmAudioPort.h"
|
10
|
11
|
#include "cmAudioNrtDev.h"
|
11
|
12
|
#include "cmAudioPortFile.h"
|
|
@@ -294,7 +295,8 @@ void _cmRtDspExecCallback( _cmRtCfg_t* cp )
|
294
|
295
|
// 1) Buffers associated with disabled input/output channels will be set to NULL in iChArray[]/oChArray[].
|
295
|
296
|
// 2) Buffers associated with channels marked for pass-through will be set to NULL in oChArray[].
|
296
|
297
|
// 3) All samples returned in oChArray[] buffers will be set to zero.
|
297
|
|
- cmApBufGetIO(cp->ss.args.inDevIdx, cp->ctx.iChArray, cp->ctx.iChCnt, cp->ss.args.outDevIdx, cp->ctx.oChArray, cp->ctx.oChCnt );
|
|
298
|
+ cmApBufGetIO(cp->ss.args.inDevIdx, cp->ctx.iChArray, cp->ctx.iChCnt, &cp->ctx.iTimeStamp,
|
|
299
|
+ cp->ss.args.outDevIdx, cp->ctx.oChArray, cp->ctx.oChCnt, &cp->ctx.oTimeStamp );
|
298
|
300
|
|
299
|
301
|
|
300
|
302
|
// calling this function results in callbacks to _cmRtSysNetRecv()
|
|
@@ -605,6 +607,9 @@ cmRtRC_t _cmRtSysEnable( cmRt_t* p, bool enableFl )
|
605
|
607
|
{
|
606
|
608
|
_cmRtCfg_t* cp = p->ssArray + i;
|
607
|
609
|
|
|
610
|
+ cmApBufOnPortEnable(cp->ss.args.inDevIdx,enableFl);
|
|
611
|
+ cmApBufOnPortEnable(cp->ss.args.outDevIdx,enableFl);
|
|
612
|
+
|
608
|
613
|
if( enableFl )
|
609
|
614
|
{
|
610
|
615
|
cp->cmdId = kNoCmdId;
|