バージョン

menu_open
Wwise SDK 2023.1.2

◆ GetPS4OutputHandle()

int AK::GetPS4OutputHandle ( AkOutputDeviceID  deviceId = 0)

Returns the PS4 output port handle being used by the Wwise SoundEngine for the output matching the provided OutputDeviceId. This should be called only once the SoundEngine has been successfully initialized, otherwise the function will return an invalid value (-1). Invalid values will also be returned if the OutputDeviceId matches a device that is not an output for the Default, DVR, Communication, Personal, Pad_output, or Aux devices.

Use AK::SoundEngine::RegisterAudioDeviceStatusCallback() to get notified when devices are created/destructed.

Note that because this function acquires the global lock in Wwise in order to fetch device state, it is recommended to call this inside of the AudioDeviceStatusCallback, after a successful AkAudioDeviceEvent_Initialization.

戻り値
the current PS4 main output port handle or -1.

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう