|
@@ -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"
|
|
@@ -276,7 +277,8 @@ void _cmAsDspExecCallback( _cmAsCfg_t* cp )
|
276
|
277
|
// 1) Buffers associated with disabled input/output channels will be set to NULL in iChArray[]/oChArray[].
|
277
|
278
|
// 2) Buffers associated with channels marked for pass-through will be set to NULL in oChArray[].
|
278
|
279
|
// 3) All samples returned in oChArray[] buffers will be set to zero.
|
279
|
|
- cmApBufGetIO(cp->ss.args.inDevIdx, cp->ctx.iChArray, cp->ctx.iChCnt, cp->ss.args.outDevIdx, cp->ctx.oChArray, cp->ctx.oChCnt );
|
|
280
|
+ cmApBufGetIO(cp->ss.args.inDevIdx, cp->ctx.iChArray, cp->ctx.iChCnt, &cp->ctx.iTimeStamp,
|
|
281
|
+ cp->ss.args.outDevIdx, cp->ctx.oChArray, cp->ctx.oChCnt, &cp->ctx.oTimeStamp );
|
280
|
282
|
|
281
|
283
|
// call the application provided DSP process
|
282
|
284
|
cp->ctx.audioRateFl = true;
|
|
@@ -554,6 +556,9 @@ cmAsRC_t _cmAudioSysEnable( cmAs_t* p, bool enableFl )
|
554
|
556
|
{
|
555
|
557
|
_cmAsCfg_t* cp = p->ssArray + i;
|
556
|
558
|
|
|
559
|
+ cmApBufOnPortEnable(cp->ss.args.inDevIdx,enableFl);
|
|
560
|
+ cmApBufOnPortEnable(cp->ss.args.outDevIdx,enableFl);
|
|
561
|
+
|
557
|
562
|
if( enableFl )
|
558
|
563
|
{
|
559
|
564
|
|