Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2021.1.14.8108 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2021.1.14

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

Returns
the current PS4 main output port handle or -1.

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise