index 89496fea714c2c2f8db217b5f72f6dc3e7ee8d03..da9cf786705b8cf44cd87979e141dd2e3bfb5018 100644 (file)
/*
-Copyright (c) 2016, Texas Instruments Incorporated - http://www.ti.com/
+Copyright (c) 2017, Texas Instruments Incorporated - http://www.ti.com/
All rights reserved.
* Redistribution and use in source and binary forms, with or without
#include "audioStreamProc_params.h"
#include "audioStreamDecodeProc.h"
+#include "dbgBenchmark.h" // PCM high-sampling rate + SRC + CAR benchmarking
+
//
// Framework Declarations
//
4, // sourceKaraoke: both
0, // aspGearControl: unused
0, // aspGearStatus: unused
- 0, 0, 0, 0, // Unused
- 0, 0, 0, 0, // Unused
- 0, 0, 0, 0, // Unused
- 0, 0, 0, 0, // Unused
- 0, 0, 0, 0, // Unused
+ 0, 0, 0, 0, // Unused
+ 0, 0, 0, 0, // Unused
+ 0, 0, 0, 0, // Unused
+ 0, 0, 0, 0, // Unused
+ 0, 0, 0, 0, // Unused
0, // frameCount
0x40, // karaoka: Vocal 1 Level
0x40, // karaoka: Vocal 1 Pan
0x00, // karaoka: Melody Pan
0, // decBypass
0, // unused
- 0, // frameLength: reset later
+ 0, // frameLength: reset later
1, // bufferRatio: unity
PAF_IEC_PREEMPHASIS_UNKNOWN, // emphasis
- 0, // bufferDrift
+ 0, // bufferDrift
0, 0,
PAF_CC_SAT_SURROUND4, PAF_CC_SUB_ONE, PAF_CC_AUX_SURROUND4_UNKNOWN, 0, 0, 0, 0, 0,
// channelConfigurationRequest.full
PAF_MAX_PRIVATE_MD_SZ, // bufSize
PAF_MAX_NUM_PRIVATE_MD, // NumBuf
128, // alignment
- &gPafHeapIdExt //&SDRAM // &IRAM, // pSpace
+ &gPafHeapIdExt // pHeadIdSpace
};
#if 0 // FL: maybe needed on ARM if there's an audio frame buffer defined for decode (and possible stream)
const PAF_ASDT_Params asdp_params_PAi =
{
- &PAF_ASDT_params_fxns, // fxns
- { // zone
- 0, // master
- 1, // decodes
- 0, // decode1
- 1, // decodeN
- 1, // streams
+ &PAF_ASDT_params_fxns, // fxns
+ { // zone
+ 0, // zone.master
+ 1, // zone.decodes
+ 0, // zone.decode1
+ 1, // zone.decodeN
+ 1, // zone.streams
},
PAF_AST_inputsFromDecodes_std,
{ // heap
- &gPafHeapIdInt1, //&IRAM // pIntern
- &gPafHeapIdExt, //&SDRAM, // pExtern
- //&gPafHeapIdInt1, //&IRAM, // pFrmbuf
- &gPafHeapIdExt, //&SDRAM, // pFrmbuf //Qin - moved to external memory
- &gPafHeapIdInt1, //&L3RAM, // pIntern1
- 1, // clear
+ &gPafHeapIdInt1, //&IRAM // heap.pIntern
+ &gPafHeapIdExt, //&SDRAM, // heap.pExtern
+ //&gPafHeapIdInt1, //&IRAM, // heap.pFrmbuf
+ &gPafHeapIdExt, //&SDRAM, // heap.pFrmbuf //Qin - moved to external memory
+ &gPafHeapIdInt1, //&L3RAM, // heap.pIntern1
+ &gPafHeapIdInt1Shm, // heap.pHeapIdInt1Shm
+ &gPafHeapIdExtShm, // heap.pHeapIdExtShm
+ &gPafHeapIdExtNonCachedShm, // heap.pHeapIdExtNonCachedShm
+ 1, // heap.clear
},
{ // common
- params_memspace_PAi_Slave, // space
+ params_memspace_PAi_Slave, // common.space
},
PAF_AST_params_numchan, // z_numchan
- 256, // framelength
+ PAF_SYS_FRAMELENGTH, // framelength
&PAF_ASDT_params_audioFrameFunctions, // pAudioFrameFunctions
&PAF_ASP_chainFxns, // pChainFxns
PAF_ASDT_params_decodeStatus, // z_pDecodeStatus