Version

menu_open
AKRESULT __cdecl AK::SoundEngine::DecodeBank ( const void *  in_pInMemoryBankPtr,
AkUInt32  in_uInMemoryBankSize,
AkMemPoolId  in_uPoolForDecodedBank,
void *&  out_pDecodedBankPtr,
AkUInt32 out_uDecodedBankSize  
)

Synchronously decode Vorbis-encoded media in a SoundBank.

Parameters:
in_pInMemoryBankPtr  Pointer to the in-memory bank to decode (pointer is not stored in sound engine, memory can be released after return)
in_uInMemoryBankSize  Size of the in-memory bank to decode
in_uPoolForDecodedBank  Memory pool to allocate decoded bank into. Specify AK_INVALID_POOL_ID and out_pDecodedBankPtr=NULL to obtain decoded bank size without performing the decode operation. Pass AK_INVALID_POOL_ID and out_pDecodedBankPtr!=NULL to decode bank into specified pointer.
out_pDecodedBankPtr  Decoded bank memory location.
out_uDecodedBankSize  Decoded bank memory size.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise