⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 audio.tcf

📁 基于DSP的实时语音信号处理系统设计实例
💻 TCF
字号:
/* *  ======== audio_dsk67cfg.tcf ======== *  Configuration for the audio example on the DSK6711 * *! Revision History *! ================ *! 20-Jun-2002 connell made compatible for both UNIX & PC *! 15-Dec-2000 dr	created */ /* *  ======== dsk6711 ======== *  Load the DSK6711 CDB seed database. */utils.loadPlatform("Dsk6711");bios.enableFullBios(prog);/* define global variables for all objects e.g. GBL and LOG_system */utils.getProgObjs(prog);/* *  ======== GBL ======== *  Force CDB global parameters to match the TCF configuration model. * *  CDB files contain more than just the program configuration; e.g., *  they also contain platform specific information that must be set. *  Since the new configuration model specifies platform information *  outside program configuration, we copy in manually here (to ensure *  that CDB and TCF are consistent). * *  Once we remove platform configuration from CDB the hack will be *  unnecessary.  Maybe we should move this into util.loadSeed()? */if (prog.endian == "big") {    GBL.ENDIAN = "big";}/* *  ======== LOG_system ======== *  Set the length of system buffer here (rather than in the program *  configuration script) because the size is often a fxn of *  available memory. */LOG_system.bufLen = 512;/* *  ======== audio ======== *  Load the audio program configuration information */utils.importFile("audio.tci");/* *  ======== gen ======== *  Generate the configuration files.  This includes the .cdb file *  since this file is required by the host-side RTA code (VBD, etc). * *  Note that the base name of the configuration files is determined *  by the name of this file; this allows one to change the name of *  this file without changing the script. *  It is possible to specify a different base name by passing the *  base name as an argument to gen(); e.g., prog.gen("foo") will *  generate the following files:  foo.cdb, foocfg.s62, foocfg.h62, ... */prog.gen();

⌨️ 快捷键说明

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