版本

menu_open
Wwise SDK 2023.1.4

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

参数
[in]in_thisCurrent instance of this interface.
[in]in_numDevice number, from zero to the value, as retrieved by GetCount.
返回
uint32_t Device ID for the interface in_num.
参见
GetCount for a discussion on providing data in a multithread-aware environment.

在文件 SinkDevices.h142 行定义.

被这些函数引用 AK.Wwise::Plugin::V1::SinkDevices::Interface::Interface().


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅