Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.15.8501 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Go to the documentation of this file.
48 #elif defined _M_AMD64
52 #define AK_CPU_ARM_NEON
53 #elif defined _M_ARM64
55 #define AK_CPU_ARM_NEON
59 #include <winapifamily.h>
60 #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
61 #define AK_USE_UWP_API
62 #define AK_USE_METRO_API // deprecated
63 #ifdef __cplusplus_winrt
64 #define AK_UWP_CPP_CX // To test for UWP code which uses Microsoft's C++/CX extended language (not all projects do)
66 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PC_APP)
67 #if !defined(AK_WIN_UNIVERSAL_APP)
68 #define AK_WIN_UNIVERSAL_APP
75 #ifdef AK_WIN_UNIVERSAL_APP
76 #define _WIN32_WINNT 0x0A00 // _WIN32_WINNT_WIN10
78 #define _WIN32_WINNT 0x0602
82 #define AK_71FROMSTEREOMIXER
83 #define AK_51FROMSTEREOMIXER
85 #define AK_SUPPORT_THREADS
86 #define AK_SUPPORT_WCHAR
89 #define AK_SUPPORT_THREAD_LOCAL
91 #define AK_RESTRICT __restrict
92 #define AK_EXPECT_FALSE( _x ) (_x)
93 #define AkForceInline __forceinline
94 #define AkNoInline __declspec(noinline)
96 #define AK_SIMD_ALIGNMENT 16
97 #define AK_ALIGN_SIMD( _declaration_ ) AK_ALIGN( _declaration_, AK_SIMD_ALIGNMENT )
98 #define AK_BUFFER_ALIGNMENT AK_SIMD_ALIGNMENT
99 #define AK_XAUDIO2_FLAGS 0
101 #ifdef AK_USE_UWP_API
102 #define AK_WINRT_DEVICENOTIFICATION
104 #define AK_DEVICE_CACHE_SUPPORT
107 #if defined AK_CPU_X86 || defined AK_CPU_X86_64 || defined AK_CPU_ARM_NEON
108 #define AKSIMD_V4F32_SUPPORTED
113 #if defined AK_CPU_X86_64
114 #define AKSIMD_AVX2_SUPPORTED
115 #define AKSIMD_AVX_SUPPORTED
118 #define AKSOUNDENGINE_CALL __cdecl
120 #define AK_DLLEXPORT __declspec(dllexport)
121 #define AK_DLLIMPORT __declspec(dllimport)
138 #define AK_UINT_MAX UINT_MAX
141 #define AK_MAX_PATH 260
146 #define AkmmioFOURCC( ch0, ch1, ch2, ch3 ) \
147 ( (AkFourcc)(AkUInt8)(ch0) | ( (AkFourcc)(AkUInt8)(ch1) << 8 ) | \
148 ( (AkFourcc)(AkUInt8)(ch2) << 16 ) | ( (AkFourcc)(AkUInt8)(ch3) << 24 ) )
150 #define AK_BANK_PLATFORM_DATA_ALIGNMENT (16)
155 #define AK_OSCHAR_FMT "%ls"
160 #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