本文整理汇总了C++中s3eWwiseFuncs::m_s3eWwiseSoundEnginePostEventNamed方法的典型用法代码示例。如果您正苦于以下问题:C++ s3eWwiseFuncs::m_s3eWwiseSoundEnginePostEventNamed方法的具体用法?C++ s3eWwiseFuncs::m_s3eWwiseSoundEnginePostEventNamed怎么用?C++ s3eWwiseFuncs::m_s3eWwiseSoundEnginePostEventNamed使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类s3eWwiseFuncs
的用法示例。
在下文中一共展示了s3eWwiseFuncs::m_s3eWwiseSoundEnginePostEventNamed方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: IwTrace
s3eWwisePlayingID s3eWwiseSoundEnginePostEventNamed(const char* in_pszEventName, s3eWwiseGameObjectID in_gameObjectID, uint32 flags)
{
IwTrace(WWISE_VERBOSE, ("calling s3eWwise[13] func: s3eWwiseSoundEnginePostEventNamed"));
if (!_extLoad())
return S3E_WWISE_INVALID_PLAYING_ID;
#ifdef LOADER_CALL_LOCK
s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif
s3eWwisePlayingID ret = g_Ext.m_s3eWwiseSoundEnginePostEventNamed(in_pszEventName, in_gameObjectID, flags);
#ifdef LOADER_CALL_LOCK
s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif
return ret;
}
示例2: IwTrace
s3eWwisePlayingID s3eWwiseSoundEnginePostEventNamed(const char* in_pszEventName, s3eWwiseGameObjectID in_gameObjectID, uint32 flags)
{
IwTrace(WWISE_VERBOSE, ("calling s3eWwise[12] func: s3eWwiseSoundEnginePostEventNamed"));
if (!_extLoad())
return S3E_WWISE_INVALID_PLAYING_ID;
#ifdef __mips
// For MIPs platform we do not have asm code for stack switching
// implemented. So we make LoaderCallStart call manually to set GlobalLock
s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif
s3eWwisePlayingID ret = g_Ext.m_s3eWwiseSoundEnginePostEventNamed(in_pszEventName, in_gameObjectID, flags);
#ifdef __mips
s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif
return ret;
}