Version

menu_open
Wwise SDK 2018.1.11

◆ CreatePool()

AkMemPoolId __cdecl AK::MemoryMgr::CreatePool ( void *  in_pMemAddress,
AkUInt32  in_uMemSize,
AkUInt32  in_uBlockSize,
AkUInt32  in_eAttributes,
AkUInt32  in_uBlockAlign = 0 
)

Create a new memory pool.

Returns
The ID of the created memory pool, or AK_INVALID_POOL_ID if creation failed
Tip: Refer to Pools for information about pool resource overhead.
See also
Parameters
in_pMemAddress Memory address of the pool, or NULL if it should be allocated
in_uMemSize Size of the pool (in bytes)
in_uBlockSize Size of a block (in bytes)
in_eAttributes Memory pool attributes: use values of AkMemPoolAttributes
in_uBlockAlign Alignment of memory blocks. Some plug-ins and specific processors may require specific data alignment. When allocating space for sound bank data, we recommend using AK_BANK_PLATFORM_DATA_ALIGNMENT.

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise