ceapp.cfg

来自「达芬奇平台上面的codec server 搭建和音频处理的搭建」· CFG 代码 · 共 53 行

CFG
53
字号
/* *  Copyright 2006 by Texas Instruments Incorporated. * *  All rights reserved. Property of Texas Instruments Incorporated. *  Restricted rights to use, duplicate or disclose this code are *  granted through contract. * *//* *  ======== ceapp.cfg ======== *//* set up OSAL */var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');osalGlobal.runtimeEnv = osalGlobal.DSPLINK_LINUX;/* The following line tells that the program will get codec * named AUDCP from directory $AUDCP_ROOTDIR/audcp_codec * "audioCopy" is the name of the module variable. The  * variable will be used by XDC tools to create and  * configure my own codec engine. */var audioCopy = xdc.useModule('audcp_codec.AUDCP');/* *  ======== Engine Configuration ======== */var Engine = xdc.useModule('ti.sdo.ce.Engine');/* The following lines create my own codec engine using * variable "audioCopy".  * "audcp_engine" is the name of the engine to create. The * Linux application will open it using the exact same name * string. * "audcp" is the name of the codec server to create. The  * Linux application will open the server using the exact * same name string. */var myEngine = Engine.create("audcp_engine", [    {name: "audcp", mod: audioCopy, local: false},]);/* The following lines tells that when the Linux application * runs, it will load DSP combo audcp.x64P from the same * directory that the application resides. */myEngine.server = "./audcpServer.x64P";Program.main = Program.system = null;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?