|
◆ GetOutputID() [1/2]
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.
- 戻り値
- The id of the output
- 引数
-
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.
|
|