Version

menu_open
Wwise SDK 2021.1.14

◆ UnloadBank() [1/4]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::UnloadBank ( AkBankID  in_bankID,
const void *  in_pInMemoryBankPtr 
)

Unloads a bank synchronously (by ID and memory pointer).

Returns
AK_Success if successful, AK_Fail otherwise. AK_Success is returned when the bank was not loaded.
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_bankID ID of the bank to unload
in_pInMemoryBankPtr Memory 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.

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