Go to the documentation of this file.
33 #ifndef _AK_DATA_TYPES_PLATFORM_H_
34 #define _AK_DATA_TYPES_PLATFORM_H_
46 #elif defined _M_AMD64
50 #define AK_CPU_ARM_NEON
51 #elif defined _M_ARM64
53 #define AK_CPU_ARM_NEON
57 #include <winapifamily.h>
58 #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
59 #define AK_USE_UWP_API
60 #define AK_USE_METRO_API // deprecated
61 #ifdef __cplusplus_winrt
62 #define AK_UWP_CPP_CX // To test for UWP code which uses Microsoft's C++/CX extended language (not all projects do)
64 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PC_APP)
65 #define AK_WIN_UNIVERSAL_APP
71 #ifdef AK_WIN_UNIVERSAL_APP
72 #define _WIN32_WINNT 0x0A00 // _WIN32_WINNT_WIN10
74 #define _WIN32_WINNT 0x0602
79 #define AK_71FROMSTEREOMIXER
80 #define AK_51FROMSTEREOMIXER
83 #define AK_REARCHANNELS
85 #define AK_SUPPORT_WCHAR
88 #define AK_RESTRICT __restrict
89 #define AK_EXPECT_FALSE( _x ) (_x)
90 #define AkForceInline __forceinline
91 #define AkNoInline __declspec(noinline)
93 #define AK_SIMD_ALIGNMENT 16
94 #define AK_ALIGN_SIMD( __Declaration__ ) __declspec(align(AK_SIMD_ALIGNMENT)) __Declaration__
96 #define AK_ALIGN_FASTDMA
97 #define AK_ALIGN_SIZE_FOR_DMA( __Size__ ) (__Size__)
98 #define AK_BUFFER_ALIGNMENT AK_SIMD_ALIGNMENT
99 #define AK_XAUDIO2_FLAGS 0
101 #if defined AK_CPU_X86 || defined AK_CPU_X86_64 || defined AK_CPU_ARM_NEON
102 #define AKSIMD_V4F32_SUPPORTED
107 #if defined AK_CPU_X86_64
108 #define AKSIMD_AVX2_SUPPORTED
109 #define AKSIMD_AVX_SUPPORTED
112 #define AKSOUNDENGINE_CALL __cdecl
114 #define AK_DLLEXPORT __declspec(dllexport)
115 #define AK_DLLIMPORT __declspec(dllimport)
147 #define AK_UINT_MAX UINT_MAX
150 #define AK_MAX_PATH 260
155 #define AkmmioFOURCC( ch0, ch1, ch2, ch3 ) \
156 ( (AkFourcc)(AkUInt8)(ch0) | ( (AkFourcc)(AkUInt8)(ch1) << 8 ) | \
157 ( (AkFourcc)(AkUInt8)(ch2) << 16 ) | ( (AkFourcc)(AkUInt8)(ch3) << 24 ) )
159 #define AK_BANK_PLATFORM_DATA_ALIGNMENT (16)
164 #define AKTEXT(x) L ## x
166 #endif //_AK_DATA_TYPES_PLATFORM_H_
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