arrow_right Table of Contents

Other Documentation

Wwise SDK 2021.1.8

◆ 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.

the current PS4 main output port handle or -1.