Version

menu_open
Wwise SDK 2023.1.4

◆ 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