Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2022.1.13.8454 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2022.1.13

◆ UnloadBank() [1/4]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::UnloadBank ( AkBankID  in_bankID,
const void *  in_pInMemoryBankPtr,
AkBankCallbackFunc  in_pfnBankCallback,
void *  in_pCookie,
AkBankType  in_bankType = AkBankType_User 
)

Unloads a bank asynchronously (by ID and memory pointer).
Refer to General Information for a discussion on using strings and IDs.

Returns
AK_Success if scheduling successful (use a callback to be notified when completed)
Remarks
  • In order to force the memory deallocation of the bank, sounds that use media from this bank will be stopped. This means that streamed sounds or generated sounds will not be stopped.
See also
Parameters
in_bankIDID of the bank to unload
in_pInMemoryBankPtrMemory pointer from where the bank was initially loaded from. (REQUIRED to determine which bank associated to a memory pointer must be unloaded). Pass NULL if NULL was passed when loading the bank or if LoadBankMemoryCopy was used to load the bank.
in_pfnBankCallbackCallback function
in_pCookieCallback cookie (reserved to user, passed to the callback function)
in_bankTypeType of the bank to unload

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