Version
menu

◆ AK_ExternalSourceArray_AddFileNameSource()

AKSOUNDENGINE_API int AK_ExternalSourceArray_AddFileNameSource ( AkExternalSourceArray  in_arSources,
AkCodecID  in_codec,
AkUInt32  in_cookie,
const char *  in_filename 
)

Add a filename-based external source to this array.

The filename string is copied as well. The client may release the string after calling this function.

Parameters
[in]in_arSourcesThe array to copy data into.
[in]in_codecCodec ID. See documentation for AkExternalSourceInfo::idCodec.
[in]in_cookieCookie identifying the source. See documentation for AkExternalSourceInfo::iExternalSrcCookie.
[in]in_filenameFile path for the source. See documentation for AkExternalSourceInfo::szFile.
Returns
1 if source was added, 0 if array is already filled to capacity or when running out of memory

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