◆ LoadBank() [5/8]
Loads a bank asynchronously.
The bank name is passed to the Stream Manager. Refer to 一般信息 for a discussion on using strings and IDs. You can specify a custom pool for storage of media, the engine will create a new pool if AK_DEFAULT_POOL_ID is passed. A bank load request will be posted to the Bank Manager consumer thread. The function returns immediately.
- AK_Success if the scheduling was successful, AK_Fail otherwise. Use a callback to be notified when completed, and get the status of the request. The bank ID, which is obtained by hashing the bank name (see GetIDFromString()). You may use this ID with UnloadBank().