버전

menu_open
Wwise SDK 2023.1.3
AkPlatformFuncs.h 파일 참조
#include <AK/Tools/Common/AkAssert.h>
#include <AK/SoundEngine/Common/AkTypes.h>
#include <android/log.h>
#include <cpuid.h>
#include <time.h>
#include <stdlib.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 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
 
#define __ak_cpuid_count(level, count, a, b, c, d)
 

함수

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 더 자세히 ...
 
static __inline int AKPLATFORM::__ak_get_cpuid_count (unsigned int __leaf, unsigned int __subleaf, unsigned int *__eax, unsigned int *__ebx, unsigned int *__ecx, unsigned int *__edx)
 
void AKPLATFORM::CPUID (AkUInt32 in_uLeafOpcode, AkUInt32 in_uSubLeafOpcode, unsigned int out_uCPUFeatures[4])
 

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요