版本

menu_open
警告:系统已根据您所用大版本 (2022.1.13.8454) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。

◆ GetMediaSourceFileName

unsigned int(* ak_wwise_plugin_host_object_media_v1::GetMediaSourceFileName) (const struct ak_wwise_plugin_host_object_media_instance_v1 *in_this, AkOSChar *out_pszFileName, unsigned int in_uiBufferSize, unsigned int in_Index)

Retrieve the file name of the source plug-in data at the specified index, as provided in SetMediaSource.

Used to allow the plug-in to display this information. This is the file name, and doesn't include any path.

警告: If you do not provide a buffer big enough to write the full string, the function will fail and return 0. Make sure to use a buffer big enough to write the entire string, such as your platform's max path size.
参数
[in]in_thisCurrent instance of this interface.
[out]out_pszFileNameBuffer that will contain the file name.
[in]in_uiBufferSizeSize of the provided string buffer.
[in]in_IndexMedia source index to query.
返回
Number of characters written to the buffer. 0 means no file, or failure.

在文件 HostObjectMedia.h130 行定义.

被这些函数引用 AK.Wwise::Plugin::V1::ObjectMedia::GetMediaSourceFileName().


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅