Version

menu_open

include/AK/Tools/Android/AkPlatformFuncs.h File Reference

Go to the source code of this file.

Namespaces

namespace   AKPLATFORM

Defines

#define  AK_THREAD_INIT_CODE(_threadProperties)   syscall(__NR_sched_setaffinity, 0, sizeof(_threadProperties.dwAffinityMask), &_threadProperties.dwAffinityMask)
#define  CONVERT_UTF16_TO_CHAR(_astring_, _charstring_)
#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  AkAlloca(_size_)   __builtin_alloca( _size_ )
  Stack allocations.

Functions

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).
AkInt32  AKPLATFORM::AkInterlockedIncrement (AkAtomic32 *pValue)
  Platform Independent Helper.
AkInt32  AKPLATFORM::AkInterlockedDecrement (AkAtomic32 *pValue)
  Platform Independent Helper.
bool  AKPLATFORM::AkInterlockedCompareExchange (volatile AkAtomic32 *io_pDest, AkInt32 in_newValue, AkInt32 in_expectedOldVal)
bool  AKPLATFORM::AkInterlockedCompareExchange (volatile AkAtomic64 *io_pDest, AkInt64 in_newValue, AkInt64 in_expectedOldVal)
void  AKPLATFORM::AkMemoryBarrier ()
void  AKPLATFORM::PerformanceCounter (AkInt64 *out_piLastTime)
  Platform Independent Helper.
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.

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