📄 swi_audio.tci
字号:
/* * ======== 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -