Table of Contents

Wwise SDK 2019.1.9

◆ GetCurrentLanguage()

const AKSOUNDENGINE_API 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).

Current language.
See also