Version

    Autre Documentation

menu_open
Wwise SDK 2018.1.11

◆ GetOutputID() [1/2]

AkOutputDeviceID __cdecl AK::SoundEngine::GetOutputID ( AkUniqueID  in_idShareset,
AkUInt32  in_idDevice 
)

Gets the compounded output ID from shareset and device id. Outputs are defined by their type (Audio Device shareset) and their specific system ID. A system ID could be reused for other device types on some OS or platforms, hence the compounded ID.

Returns
The id of the output
Parameters
in_idShareset Audio Device ShareSet ID, as defined in the Wwise Project. If needed, use AK::SoundEngine::GetIDFromString() to convert from a string. Set to AK_INVALID_UNIQUE_ID to use the default.
in_idDevice Device specific identifier, when multiple devices of the same type are possible. If only one device is possible, leave to 0.
  • PS4 Controller-Speakers: UserID as returned from sceUserServiceGetLoginUserIdList
  • XBoxOne Controller-Headphones: Use the AK::GetDeviceID function to get the ID from an IMMDevice. Find the player's device with the WASAPI API (IMMDeviceEnumerator, see Microsoft documentation) or use AK::GetDeviceIDFromName.
  • Windows: Use AK::GetDeviceID or AK::GetDeviceIDFromName to get the correct ID.
  • All others output: use 0 to select the default device for that type.

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