CRI ADX  Last Updated: 2024-07-17 10:47 p
WASAPI Shared Mode

*/

/*!

Samples Directory

/CRIWARE/SDK/pc/samples/criatomex/wasapi_shared


Sample Description

Usage Instructions
You can output sound via WASAPI (shared mode) by initializing the Atom library with the criAtomEx_Initialize_WASAPI function.
Specific code is as follows:
:
/* Initialize Atom library */
:
void criAtomEx_Initialize_WASAPI(const CriAtomExConfig_WASAPI *config, void *work, CriSint32 work_size)
Library initialization.



[Remarks]
When the library is initialized using the criAtomEx_Initialize_WASAPI function, you must use the criAtomEx_Finalize_WASAPI function to clean up the library when you are finished.
Cautions
In shared mode, a limiter APO is applied and so the volume is automatically reduced when multiple sounds are played simultaneously.
The parameters of the limiter APO cannot be adjusted.
If this volume attenuation due to the limiter APO is not desirable, apply a compressor or limiter on a separate ASR to adjust the volume as desired.