swi_audio.tci

来自「DM642音频采集程序」· TCI 代码 · 共 39 行

TCI
39
字号
/* *  ======== swi_audio.tci ======== *//* *  Import the board specific MEM creation, setup and placement */utils.importFile(platformName + "_ddk.tci");/* *  Import the board specific IOM driver configuration */utils.importFile(platformName + "_udevCodec.tci");/* *  Override the default params values for IOM uDevCodec */udevCodec.params =	prog.extern(platformName.toUpperCase() + "_CODEC_DEVPARAMS");/* *  Add instance of DIO object to use the configured codec. This is the device *  SIO streams use. */var dioCodec = tibios.DIO.create("dioCodec");dioCodec.comment = "DIO Adapter for IOM Codec driver" ;dioCodec.deviceName = prog.get("udevCodec");dioCodec.useCallBackFxn = true;dioCodec.chanParams = null;/* create swiEcho thread */var swiEcho = tibios.SWI.create("swiEcho");swiEcho.fxn = prog.extern("echo");swiEcho.mailbox = 3;swiEcho.comment = "Echo audio data";

⌨️ 快捷键说明

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