menu
 
Version
2021.1.14.8108

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2021.1.14
AkPlatformFuncs.h File Reference
#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>

Go to the source code of this file.

Namespaces

  AKPLATFORM
  Platform-dependent helpers.
 

Macros

#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. More...
 
#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_cpuid_count(level, count, a, b, c, d)
 

Functions

void  AKPLATFORM::PerformanceFrequency (AkInt64 *out_piFreq)
  Platform Independent Helper. More...
 
void  AKPLATFORM::OutputDebugMsg (const char *in_pszMsg)
  Output a debug message on the console (Ansi string) More...
 
template<int MaxSize = 0>
void  AKPLATFORM::OutputDebugMsgV (const char *in_pszFmt,...)
  Output a debug message on the console (variadic function). More...
 
void  AKPLATFORM::PerformanceCounter (AkInt64 *out_piLastTime)
  Platform Independent Helper. More...
 
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. More...
 
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])
 

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise