版本

menu_open

include/AK/SoundEngine/Platforms/Windows/AkTypes.h File Reference

Go to the source code of this file.

Defines

#define  AK_WIN
  Compiling for Windows.
#define  _WIN32_WINNT   0x0602
#define  AK_MOTION
  Internal use.
#define  AK_71AUDIO
#define  AK_71FROMSTEREOMIXER
#define  AK_51FROMSTEREOMIXER
#define  AK_LFECENTER
  Internal use.
#define  AK_REARCHANNELS
  Internal use.
#define  AK_SUPPORT_WCHAR
  Can support wchar.
#define  AK_OS_WCHAR
  Use wchar natively.
#define  AK_RESTRICT   __restrict
  Refers to the __restrict compilation flag available on some platforms.
#define  AK_EXPECT_FALSE(_x)   (_x)
#define  AkForceInline   __forceinline
  Force inlining.
#define  AkNoInline   __declspec(noinline)
  Disable inlining.
#define  AK_SIMD_ALIGNMENT   16
  Platform-specific alignment requirement for SIMD data.
#define  AK_ALIGN_SIMD(__Declaration__)   __declspec(align(AK_SIMD_ALIGNMENT)) __Declaration__
  Platform-specific alignment requirement for SIMD data.
#define  AK_ALIGN_DMA
  Platform-specific data alignment for DMA transfers.
#define  AK_ALIGN_FASTDMA
  Platform-specific data alignment for faster DMA transfers.
#define  AK_ALIGN_SIZE_FOR_DMA(__Size__)   (__Size__)
  Used to align sizes to next 16 byte boundary on platfroms that require it.
#define  AK_BUFFER_ALIGNMENT   AK_SIMD_ALIGNMENT
#define  AK_XAUDIO2_FLAGS   0
#define  AKSIMD_V4F32_SUPPORTED
#define  AKSOUNDENGINE_CALL   __cdecl
  Calling convention for the Wwise API.
#define  AK_DLLEXPORT   __declspec(dllexport)
#define  AK_DLLIMPORT   __declspec(dllimport)
#define  AK_UINT_MAX   UINT_MAX
#define  AK_MAX_PATH   260
  Maximum path length.
#define  AkmmioFOURCC(ch0, ch1, ch2, ch3)
  Create Riff chunk.
#define  AK_BANK_PLATFORM_DATA_ALIGNMENT   (16)
  Required memory alignment for bank loading by memory address (see LoadBank()).
#define  AK_BANK_PLATFORM_ALLOC_TYPE   AkMalloc
#define  AKTEXT(x)   L ## x
#define  AK_MEMPOOLATTRIBUTES

Typedefs

typedef unsigned char  AkUInt8
  Unsigned 8-bit integer.
typedef unsigned short  AkUInt16
  Unsigned 16-bit integer.
typedef unsigned long  AkUInt32
  Unsigned 32-bit integer.
typedef unsigned __int64  AkUInt64
  Unsigned 64-bit integer.
typedef __w64 int  AkIntPtr
  Integer type for pointers.
typedef __w64 unsigned int  AkUIntPtr
  Integer (unsigned) type for pointers.
typedef char  AkInt8
  Signed 8-bit integer.
typedef short  AkInt16
  Signed 16-bit integer.
typedef long  AkInt32
  Signed 32-bit integer.
typedef __int64  AkInt64
  Signed 64-bit integer.
typedef wchar_t  AkOSChar
  Generic character string.
typedef float  AkReal32
  32-bit floating point
typedef double  AkReal64
  64-bit floating point
typedef void *  AkThread
  Thread handle.
typedef AkUInt32  AkThreadID
  Thread ID.
typedef AkUInt32(__stdcall *  AkThreadRoutine )(void *lpThreadParameter)
  Thread routine.
typedef void *  AkEvent
  Event handle.
typedef void *  AkFileHandle
  File handle.
typedef wchar_t  AkUtf16
typedef AkUInt32  AkFourcc
  Riff chunk.

Enumerations

enum   AkMemPoolAttributes {
  AkNoAlloc = 0, AkMalloc = 1, AkAllocMask = AkNoAlloc | AkMalloc, AkFixedSizeBlocksMode = 1<<3,
  AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0, AkMalloc = 1, AkMallocMEM2 = 2,
  AkAllocMask = AkNoAlloc | AkMalloc | AkMallocMEM2, AkFixedSizeBlocksMode = 1<<3, AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0,
  AkMalloc = 1<<0, AkVirtualAlloc = 1<<1, AkAllocMask = AkNoAlloc | AkMalloc | AkVirtualAlloc, AkFixedSizeBlocksMode = 1<<3,
  AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0, AkMalloc = 1<<0, AkPhysicalAlloc = 1<<1,
  AkAllocMask = AkNoAlloc | AkMalloc | AkPhysicalAlloc, AkFixedSizeBlocksMode = 1<<3, AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0,
  AkMalloc = 1<<0, AkAPUAlloc = 1<<1, AkAllocMask = AkNoAlloc | AkMalloc | AkAPUAlloc, AkFixedSizeBlocksMode = 1<<3,
  AkBlockMgmtMask = AkFixedSizeBlocksMode
}

Detailed Description

Data type definitions.

Definition in file AkTypes.h.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅