Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.13.8454 ). 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.13

◆ GetCurrentLanguage()

AKSOUNDENGINE_API const AkOSChar* AK::StreamMgr::GetCurrentLanguage ( )

Get the current language. The language name is stored in a static buffer inside the Stream Manager, with AK::StreamMgr::SetCurrentLanguage(). In order to resolve localized (language-specific) file location, AK::StreamMgr::IAkFileLocationResolver implementations query this string. They may use it to construct a file path (for e.g. SDK/samples/SoundEngine/Common/AkFileLocationBase.cpp), or to find a language-specific file within a look-up table (for e.g. SDK/samples/SoundEngine/Common/AkFilePackageLUT.cpp).

Returns
Current language.
See also
AK::StreamMgr::SetCurrentLanguage()

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