本文整理汇总了C++中s3eWwiseFuncs::m_s3eWwiseSoundEngineSetPosition方法的典型用法代码示例。如果您正苦于以下问题:C++ s3eWwiseFuncs::m_s3eWwiseSoundEngineSetPosition方法的具体用法?C++ s3eWwiseFuncs::m_s3eWwiseSoundEngineSetPosition怎么用?C++ s3eWwiseFuncs::m_s3eWwiseSoundEngineSetPosition使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类s3eWwiseFuncs
的用法示例。
在下文中一共展示了s3eWwiseFuncs::m_s3eWwiseSoundEngineSetPosition方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: IwTrace
s3eWwiseResult s3eWwiseSoundEngineSetPosition(s3eWwiseGameObjectID in_gameObjectID, const s3eWwiseSoundPosition* in_Position)
{
IwTrace(WWISE_VERBOSE, ("calling s3eWwise[33] func: s3eWwiseSoundEngineSetPosition"));
if (!_extLoad())
return s3eWwise_NotImplemented;
#ifdef LOADER_CALL_LOCK
s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif
s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineSetPosition(in_gameObjectID, in_Position);
#ifdef LOADER_CALL_LOCK
s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif
return ret;
}
示例2: IwTrace
s3eWwiseResult s3eWwiseSoundEngineSetPosition(s3eWwiseGameObjectID in_gameObjectID, const s3eWwiseSoundPosition* in_Position, uint32 in_uListenerIndex)
{
IwTrace(WWISE_VERBOSE, ("calling s3eWwise[32] func: s3eWwiseSoundEngineSetPosition"));
if (!_extLoad())
return s3eWwise_NotImplemented;
#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
s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineSetPosition(in_gameObjectID, in_Position, in_uListenerIndex);
#ifdef __mips
s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif
return ret;
}