バージョン

    その他のドキュメント

menu_open
Wwise SDK 2018.1.11

◆ SetCurrentLanguage()

AKRESULT __cdecl AK::StreamMgr::SetCurrentLanguage ( const AkOSChar in_pszLanguageName )

Set the current language once and only once, here. The language name is stored in a static buffer inside the Stream Manager. 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). Pass a valid null-terminated string, without a trailing slash or backslash. Empty strings are accepted. You may register for language changes (see RegisterToLanguageChangeNotification()). After changing the current language, all observers are notified.

戻り値
AK_Success if successful (if language string has less than AK_MAX_LANGUAGE_NAME_SIZE characters). AK_Fail otherwise.
警告
Not multithread safe.
参照
引数
in_pszLanguageName Language name.

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう