Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2019.2.15.7667 ). 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 2019.2.15

◆ GetDeviceIDFromName()

AKSOUNDENGINE_API AkUInt32 AK::GetDeviceIDFromName ( wchar_t *  in_szToken )

Finds an audio endpoint that matches the token in the device name or device ID and returns an ID.
This is a helper function that searches in the device ID (as returned by IMMDevice->GetId) and in the property PKEY_Device_FriendlyName. The token parameter is case-sensitive. If you need to do matching on different conditions, use IMMDeviceEnumerator directly and AK::GetDeviceID.

Note
CoInitialize must have been called for the calling thread. See Microsoft's documentation about CoInitialize for more details.
Returns
The device ID as returned by IMMDevice->GetId, hashed by AK::SoundEngine::GetIDFromName()

Finds an audio endpoint that matches the token in the device name or device ID and returns an ID.
This is a helper function that searches in the device ID (as returned by IMMDevice->GetId) and IMMXboxDevice->GetPnpId() If you need to do matching on different conditions, use IMMXboxDeviceEnumerator directly.

Returns
The device ID as returned by IMMDevice->GetId, hashed by AK::SoundEngine::GetIDFromName()

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