Wwise Version
arrow_right Table of Contents
Wwise SDK 2021.1.5

◆ 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).

Current language.
See also