Table of Contents

const AkOSChar* __cdecl 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()