CRI ADX  Last Updated: 2024-07-17 10:47 p
Building DSP Bus

Samples Directory

/CRIWARE/SDK/pc/samples/criatomex/attach_dsp_setting


Sample Description

In order to enable DSP bus configured in CRI Atom Craft, call the ::criAtomExAsr_AttachDspBusSetting function to build a DSP bus.
Before doing so, call the criAtomEx_RegisterAcfFile or ::criAtomEx_RegisterAcfConfig function to register ACF data .

The following is a code to build a DSP bus.

/* Read and register ACF file */
criAtomEx_RegisterAcfFile(NULL, PATH ACF_FILE, NULL, 0);
/* Apply the DSP bus setting */
criAtomExAsr_AttachDspBusSetting("DspBusSetting_0", NULL, 0);
CriBool criAtomEx_RegisterAcfFile(CriFsBinderHn binder, const CriChar8 *path, void *work, CriSint32 work_size)
Register an ACF file.