[processor-sdk/performance-audio-sr.git] / processor_audio_sdk_1_00_00_00 / pasdk / common / aspDecOpCircBuf_common.h
diff --git a/processor_audio_sdk_1_00_00_00/pasdk/common/aspDecOpCircBuf_common.h b/processor_audio_sdk_1_00_00_00/pasdk/common/aspDecOpCircBuf_common.h
index f3b90f4d545b91f203628047ed84d73e7b789a2f..7b74a725eec4b56a6c9f79acf046a347303a76f7 100644 (file)
#define _ASP_DECOP_CB_COMMON_H_
#include <xdc/std.h>
+#include <ti/ipc/GateMP.h>
#include "paftyp.h"
#define ASP_DECOP_CB_SOK ( 0 ) // ok
{
PAF_AudioFrame *afCb; // audio frame CB
PAF_AudioData *pcmBuf; // PCM buffer, contains PCM data associated with audio frames
- UInt8 *metaBuf; // metafdata buffer, contains metadata associated with audio frames //QIN
+ UInt8 *metaBuf; // metadata buffer, contains metadata associated with audio frames //QIN
Int8 afRdIdx; // audio frame CB read index
Int8 afWrtIdx; // audio frame CB write index
Int16 pcmRdIdx; // pcm buffer read index
Int8 errOvrCnt; // overflow count
} PAF_AST_DecOpCircBuf;
+// Decoder output circular buffer control
+typedef struct PAF_AST_DecOpCircBufCtrl
+{
+ GateMP_Handle *gateHandle; // circular buffer gate handle
+ PAF_AST_DecOpCircBuf *xDecOpCb; // circular buffer base pointer
+} PAF_AST_DecOpCircBufCtrl;
+
// Output log of circular buffer control variables (debug)
Int cbLog(
PAF_AST_DecOpCircBuf *pCb,