版本

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.

Note.gif
Note: DecodeBank() is not available on PS3.
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.

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅