版本

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

更多...

#include <HostObjectMedia.h>

类 AK.Wwise::Plugin::V1::ObjectMedia 继承关系图:
AK.Wwise::Plugin::CBaseInstanceGlue< CHostObjectMedia > AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >

Public 类型

enum  : InterfaceTypeValue { k_interfaceType = AK_WWISE_PLUGIN_INTERFACE_TYPE_HOST_OBJECT_MEDIA }
 The interface type, as requested by this plug-in. 更多...
 
enum  : InterfaceVersion { k_interfaceVersion = 1 }
 The interface version, as requested by this plug-in. 更多...
 
using Interface = CHostObjectMedia
 
- Public 类型 继承自 AK.Wwise::Plugin::CBaseInstanceGlue< CHostObjectMedia >
using Instance = typename CInterface::Instance
 
- Public 类型 继承自 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >
using GluedInterface = CHostObjectMedia
 

Public 成员函数

bool SetMediaSource (const AkOSChar *in_pszFilePathToImport, unsigned int in_Index, bool in_bReplace)
 Requests to set the specified file as a data input file. 更多...
 
void RemoveMediaSource (unsigned int in_Index)
 Requests to remove the specified index file as data input file. 更多...
 
unsigned int GetMediaSourceCount () const
 Retrieve the number of media source indexes. 更多...
 
unsigned int GetMediaSourceFileName (AkOSChar *out_pszFileName, unsigned int in_uiBufferSize, unsigned int in_Index) const
 Retrieve the file name of the source plug-in data at the specified index, as provided in SetMediaSource. 更多...
 
unsigned int GetMediaSourceOriginalFilePath (AkOSChar *out_pszFilePath, unsigned int in_uiBufferSize, unsigned int in_Index) const
 Retrieve the full file path of the source plug-in data at the specified index. 更多...
 
unsigned int GetMediaSourceConvertedFilePath (AkOSChar *out_pszFilePath, unsigned int in_uiBufferSize, const GUID &in_guidPlatform, unsigned int in_Index) const
 Retrieve the full file path of the converted plug-in data at the specified index. 更多...
 
void InvalidateMediaSource (unsigned int in_Index)
 Request Wwise to perform any required conversion on the data. 更多...
 
unsigned int GetOriginalDirectory (AkOSChar *out_pszDirectory, unsigned int in_uiBufferSize) const
 Obtain the Original directory for the plug-in. 更多...
 
unsigned int GetConvertedDirectory (AkOSChar *out_pszDirectory, unsigned int in_uiBufferSize, const GUID &in_guidPlatform) const
 Obtain the Converted directory for the plug-in and platform. 更多...
 

额外继承的成员函数

- 静态 Public 属性 继承自 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >
static GluedInterfaceg_cinterface
 The unique instance of the CInterface interface. Defined at nullptr first, overridden by the Host once loaded. 更多...
 

详细描述

Plug-in object media interface. Can be used to normalize media file handling inside the project.

在文件 HostObjectMedia.h298 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅