CRI ADX  Last Updated: 2025-05-07 13:34 p
Building DSP Bus

Sample directory

/cri/pc/samples/criatomex/attach_dsp_setting

Data used in the sample

/cri/common/smpdata/criatomex/
  • SampleProject.acf
  • AtomCueSheet.acb
  • AtomCueSheet.awb

Sample description

To enable the mixer (DSP bus setting) configured in CRI Atom Craft, you must call the criAtomEx_AttachDspBusSetting function to construct the DSP bus.
In that case, please call the criAtomEx_RegisterAcfFile function or the criAtomEx_RegisterAcfData function in advance to register the ACF data .
/* Read and register ACF file */
criAtomEx_RegisterAcfFile(NULL, PATH ACF_FILE, NULL, 0);
/* Apply the DSP bus setting */
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.