Wwise SDK 2023.1.5

◆ 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.

[in]in_numDevice number, from zero to the value, as retrieved by GetCount.
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