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 #error "The current WINAPI_FAMILY_PARTITION is not supported."
66 #ifdef AK_WIN_UNIVERSAL_APP
67 #define _WIN32_WINNT 0x0A00 // _WIN32_WINNT_WIN10
69 #define _WIN32_WINNT 0x0602
73 #define AK_71FROMSTEREOMIXER
74 #define AK_51FROMSTEREOMIXER
76 #define AK_SUPPORT_THREADS
77 #define AK_SUPPORT_WCHAR
80 #define AK_SUPPORT_THREAD_LOCAL
82 #define AK_RESTRICT __restrict
83 #define AK_EXPECT_FALSE( _x ) (_x)
84 #define AkForceInline __forceinline
85 #define AkNoInline __declspec(noinline)
87 #define AK_SIMD_ALIGNMENT 16
88 #define AK_ALIGN_SIMD( _declaration_ ) AK_ALIGN( _declaration_, AK_SIMD_ALIGNMENT )
89 #define AK_BUFFER_ALIGNMENT AK_SIMD_ALIGNMENT
90 #define AK_XAUDIO2_FLAGS 0
92 #define AK_DEVICE_CACHE_SUPPORT
94 #if defined AK_CPU_X86 || defined AK_CPU_X86_64 || defined AK_CPU_ARM_NEON
95 #define AKSIMD_V4F32_SUPPORTED
100 #if defined AK_CPU_X86_64
101 #define AKSIMD_AVX2_SUPPORTED
102 #define AKSIMD_AVX_SUPPORTED
105 #define AKSOUNDENGINE_CALL __cdecl
107 #define AK_DLLEXPORT __declspec(dllexport)
108 #define AK_DLLIMPORT __declspec(dllimport)
125 #define AK_UINT_MAX UINT_MAX
128 #define AK_MAX_PATH 260
133 #define AkmmioFOURCC( ch0, ch1, ch2, ch3 ) \
134 ( (AkFourcc)(AkUInt8)(ch0) | ( (AkFourcc)(AkUInt8)(ch1) << 8 ) | \
135 ( (AkFourcc)(AkUInt8)(ch2) << 16 ) | ( (AkFourcc)(AkUInt8)(ch3) << 24 ) )
137 #define AK_BANK_PLATFORM_DATA_ALIGNMENT (16)
142 #define AK_OSCHAR_FMT "%ls"
147 #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