Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.16.8522 ). 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 2022.1.16

◆ GetDeviceID

uint32_t(* ak_wwise_plugin_sink_devices_v1::GetDeviceID) (const struct ak_wwise_plugin_sink_devices_instance_v1 *in_this, int in_num)

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_thisCurrent instance of this interface.
[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.

Definition at line 142 of file SinkDevices.h.

Referenced by AK.Wwise::Plugin::V1::SinkDevices::Interface::Interface().


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