Go to the documentation of this file.
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
78 #define AK_71FROMSTEREOMIXER
79 #define AK_51FROMSTEREOMIXER
81 #define AK_SUPPORT_THREADS
82 #define AK_SUPPORT_WCHAR
85 #define AK_SUPPORT_THREAD_LOCAL
87 #define AK_RESTRICT __restrict
88 #define AK_EXPECT_FALSE( _x ) (_x)
89 #define AkForceInline __forceinline
90 #define AkNoInline __declspec(noinline)
92 #define AK_SIMD_ALIGNMENT 16
93 #define AK_ALIGN_SIMD( _declaration_ ) AK_ALIGN( _declaration_, AK_SIMD_ALIGNMENT )
94 #define AK_BUFFER_ALIGNMENT AK_SIMD_ALIGNMENT
95 #define AK_XAUDIO2_FLAGS 0
98 #define AK_WINRT_DEVICENOTIFICATION
100 #define AK_DEVICE_CACHE_SUPPORT
103 #if defined AK_CPU_X86 || defined AK_CPU_X86_64 || defined AK_CPU_ARM_NEON
104 #define AKSIMD_V4F32_SUPPORTED
109 #if defined AK_CPU_X86_64
110 #define AKSIMD_AVX2_SUPPORTED
111 #define AKSIMD_AVX_SUPPORTED
114 #define AKSOUNDENGINE_CALL __cdecl
116 #define AK_DLLEXPORT __declspec(dllexport)
117 #define AK_DLLIMPORT __declspec(dllimport)
134 #define AK_UINT_MAX UINT_MAX
137 #define AK_MAX_PATH 260
142 #define AkmmioFOURCC( ch0, ch1, ch2, ch3 ) \
143 ( (AkFourcc)(AkUInt8)(ch0) | ( (AkFourcc)(AkUInt8)(ch1) << 8 ) | \
144 ( (AkFourcc)(AkUInt8)(ch2) << 16 ) | ( (AkFourcc)(AkUInt8)(ch3) << 24 ) )
146 #define AK_BANK_PLATFORM_DATA_ALIGNMENT (16)
151 #define AK_OSCHAR_FMT "%ls"
156 #define AKTEXT(x) L ## x
uint32_t AkUInt32
Unsigned 32-bit integer.
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