Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.12.8435 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.12

◆ SetFileName()

AKRESULT AkXMLErrorMessageTranslator::SetFileName ( const AkOSChar in_filePath,
AkUInt32  in_msTimeout = 10 
)

Sets the file path to SoundBanksInfo.xml (or its equivalent). Note that the path is always with respect to the Base Path, as set with AK::SoundEngine::SetBasePath()

Parameters
[in]in_filePathThe file path to SoundBanksInfo.xml, relative to the Base Path, must include the filename and the extension.
[out]in_msTimeoutMaximum time that can be spent resolving the error parameters. Set to INT_MAX to wait infinitely or 0 to disable XML translation entirely.
Returns
AKRESULT Ak_Success if the parameters are ok. AK_InvalidParameter if in_filePath is null. AK_InsufficientMemory if there was a memory allocaiton issue.

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