summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cf10e28)
raw | patch | inline | side by side (parent: cf10e28)
author | Frank Livingston <frank-livingston@ti.com> | |
Mon, 17 Jul 2017 19:57:54 +0000 (14:57 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Mon, 17 Jul 2017 19:57:54 +0000 (14:57 -0500) |
pasdk/test_dsp/framework/audioStreamOutProc.c | patch | blob | history |
diff --git a/pasdk/test_dsp/framework/audioStreamOutProc.c b/pasdk/test_dsp/framework/audioStreamOutProc.c
index 480edc03b841f22c1e9fc2633d156ed2b3af0239..43784ca53354bbd12ad3be4367e64dc4a246c7f4 100644 (file)
UInt32 gAsopQuitCnt =0;
UInt32 gAsopTxSioReclaimCnt =0;
-
/*
* ======== taskAsopFxn ========
* Audio Stream Output Processing task function
return 0;
} //PAF_ASOT_encodeCommand
+//debug -- allow dynamic config
+Int16 gStrFrameLen=DEF_STR_FRAME_LEN; // stream frame length (PCM samples)
+
// Purpose: Decoding Function for reinitializing the decoding process.
Int
PAF_ASOT_decodeInit(
//
// Initialize decoder output circular buffer for stream reads
- errno = cbInitStreamRead(pCbCtl, z, FRAMELENGTH);
+ //errno = cbInitStreamRead(pCbCtl, z, FRAMELENGTH); // use pP->frameLength from ASOT params
+ errno = cbInitStreamRead(pCbCtl, z, gStrFrameLen);
if (errno)
{
TRACE_TERSE1("PAF_ASOT_decodeInit:cbInitStreamRead() error=%d", errno);
// THD sets this to 256 (hard-coded in Dec Info)
// DDP sets this to 0 (audio frame passthrough, 0 from ASDT AF frame length)
// PCM sets this to 256 (decodeControl.frameLength)
- pDecInfo1Af->sampleCount = 256; // !!!! Revisit !!!!
+ pDecInfo1Af->sampleCount = 256; // !!!! GJ: Revisit !!!!
outIsCpyAf(pDecInfo1Af, pStrAf);
// THD sets this to 256 (hard-coded in Dec Info)
// DDP sets this to 0 (audio frame passthrough, 0 from ASDT AF frame length)
// PCM sets this to 256 (decodeControl.frameLength)
- //pStrAf->sampleCount = 256; // !!!! Revisit !!!!
+ //pStrAf->sampleCount = 256; // !!!! GJ: Revisit !!!!
// outputInfo1():
// - ASP chain reset,