版本

menu_open
Wwise SDK 2024.1.0
AkPlatformFuncs.h 文件参考
#include <AK/Tools/Common/AkAssert.h>
#include <AK/SoundEngine/Common/AkTypes.h>
#include <android/log.h>
#include <stdlib.h>
#include <time.h>
#include <AK/Tools/POSIX/AkPlatformFuncs.h>

浏览源代码.

命名空间

 AKPLATFORM
 Platform-dependent helpers
 

宏定义

#define AK_THREAD_INIT_CODE(_threadProperties)   syscall(__NR_sched_setaffinity, 0, sizeof(_threadProperties.dwAffinityMask), &_threadProperties.dwAffinityMask)
 
#define AK_SEC_TO_NANOSEC   1000000000ULL
 
#define AK_FORCE_CRASH   abort()
 
#define AkAlloca(_size_)   __builtin_alloca( _size_ )
 Stack allocations. 更多...
 
#define CONVERT_UTF16_TO_CHAR(_astring_, _charstring_)
 
#define AK_UTF8_TO_OSCHAR(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkSimpleConvertString( in_pdDest, in_pSrc, in_MaxSize, strlen, strlen )
 
#define AK_UTF16_TO_OSCHAR(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkSimpleConvertString( in_pdDest, in_pSrc, in_MaxSize, strlen, AKPLATFORM::AkUtf16StrLen )
 
#define AK_UTF16_TO_CHAR(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkSimpleConvertString( in_pdDest, in_pSrc, in_MaxSize, strlen, AKPLATFORM::AkUtf16StrLen )
 
#define AK_CHAR_TO_UTF16(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkSimpleConvertString( in_pdDest, in_pSrc, in_MaxSize, AKPLATFORM::AkUtf16StrLen, strlen)
 
#define AK_OSCHAR_TO_UTF16(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkSimpleConvertString( in_pdDest, in_pSrc, in_MaxSize, AKPLATFORM::AkUtf16StrLen, strlen)
 
#define AK_FILEHANDLE_TO_UINTPTR(_h)   ((AkUIntPtr)_h)
 
#define AK_SET_FILEHANDLE_TO_UINTPTR(_h, _u)   _h = (AkFileHandle)_u
 

函数

void AKPLATFORM::PerformanceCounter (AkInt64 *out_piLastTime)
 Platform Independent Helper 更多...
 
void AKPLATFORM::PerformanceFrequency (AkInt64 *out_piFreq)
 Platform Independent Helper 更多...
 
void AKPLATFORM::OutputDebugMsg (const char *in_pszMsg)
 Output a debug message on the console (Ansi string) 更多...
 
template<int MaxSize = 0>
void AKPLATFORM::OutputDebugMsgV (const char *in_pszFmt,...)
 Output a debug message on the console (variadic function). 更多...
 
template<class destType , class srcType >
size_t AKPLATFORM::AkSimpleConvertString (destType *in_pdDest, const srcType *in_pSrc, size_t in_MaxSize, size_t destStrLen(const destType *), size_t srcStrLen(const srcType *))
 
void AKPLATFORM::AkCreateThread (AkThreadRoutine pStartRoutine, void *pParams, const AkThreadProperties &in_threadProperties, AkThread *out_pThread, const char *)
 Platform Independent Helper 更多...
 

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅