バージョン

menu_open
警告:あなたのメジャーリリース ( 2022.1.13.8454 ) に該当する最新ドキュメンテーションが表示されています。特定バージョンのドキュメンテーションにアクセスするには、Audiokinetic Launcherでオフラインドキュメンテーションをダウンロードし、Wwise AuthoringのOffline Documentationオプションにチェックを入れてください。
Wwise SDK 2022.1.13

◆ SetBusDevice() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetBusDevice ( const char *  in_BusName,
const char *  in_DeviceName 
)

Sets the Audio Device to which a master bus outputs. This overrides the setting in the Wwise project.
Can only be set on top-level busses. The Init bank should be successfully loaded prior to this call.

注釈: This function is useful only if used before the creation of an output, at the beginning of the sound engine setup. Once active outputs using this Bus have been created, it is imperative to use AK::SoundEngine:ReplaceOutput instead to change the type of output.
戻り値
AK_IDNotFound when either the Bus ID or the Device ID are not present in the Init bank or the bank was not loaded AK_InvalidParameter when the specified bus is not a Master Bus. This function can be called only on busses that have no parent bus.
引数
in_BusNameName of the master bus
in_DeviceNameNew device shareset to replace with.

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう