Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.4.8496 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.4

◆ GetDeviceID()

virtual uint32_t AK.Wwise::Plugin::V1::SinkDevices::GetDeviceID ( int  in_num) const
pure virtual

Get a device ID for the device number in_num.

Provided by your plug-in, this should return a uint32_t that can be understood by the Sound Engine part of your sink plug-in. It must not return duplicates or pointers, and the value should be applicable to the GetName call based on the same in_num.

Parameters
[in]in_numDevice number, from zero to the value, as retrieved by GetCount.
Returns
uint32_t Device ID for the interface in_num.
See also
GetCount for a discussion on providing data in a multithread-aware environment.

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