Version

    Other Documentation

menu_open
Wwise SDK 2023.1.2

◆ GetOutputID() [1/2]

AKSOUNDENGINE_API AkOutputDeviceID 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. Use 0 for in_idShareset & in_idDevice to get the Main Output ID (the one usually initialized during AK::SoundEngine::Init)

Returns
The id of the output
Parameters
in_idSharesetAudio 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_idDeviceDevice specific identifier, when multiple devices of the same type are possible. If only one device is possible, leave to 0.
See also
Targeting Specific System Devices

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise