CRI ADX  Last Updated: 2024-07-17 10:48 p
构建DSP总线

示例目录

/cri/pc/samples/criatomex/attach_dsp_setting


示例描述

为启用CRI Atom Craft设置的DSP总线,必须调用::criAtomEx_AttachDspBusSetting函数构建DSP总线。
这时,请事先调用::criAtomEx_RegisterAcfFile函数和::criAtomEx_RegisterAcfConfig函数,注册 ACF数据
/* 读取和注册ACF文件 */
criAtomEx_RegisterAcfFile(NULL, PATH ACF_FILE, NULL, 0);
/* 应用DSP总线设置 */
criAtomEx_AttachDspBusSetting("DspBusSetting_0", NULL, 0);
CriBool criAtomEx_RegisterAcfFile(CriFsBinderHn binder, const CriChar8 *path, void *work, CriSint32 work_size)
Register an ACF file
void criAtomEx_AttachDspBusSetting(const CriChar8 *setting, void *work, CriSint32 work_size)
Attach a DSP bus setting


示例使用的数据中AtomCraft项目的目录

/cri/tools/criatomex/examples/tutorial_data_for_runtime