Go to the documentation of this file.
34 #if defined(_GAMING_XBOX_SCARLETT)
35 #if !defined(AK_XBOXSERIESX)
36 #define AK_XBOXSERIESX
38 #define AK_WEM_OPUS_HW_SUPPORTED
39 #elif defined(_GAMING_XBOX_XBOXONE)
40 #if !defined(AK_XBOXONEGC)
44 #error "Unsupported version of Gaming.Xbox platform"
51 #include <winapifamily.h>
60 #if !defined(AK_XBOXGC)
63 #define AK_HARDWARE_DECODING_SUPPORTED //For XMA
66 #define AK_XMA_SUPPORTED
67 #define AK_DVR_BYPASS_SUPPORTED
69 #define AK_DEVICE_MEMORY_SUPPORTED
71 #define AK_XAUDIO2_FLAGS XAUDIO2_DO_NOT_USE_SHAPE
75 #define AK_COMM_NO_DYNAMIC_PORTS
76 #define AK_DEVICE_CACHE_SUPPORT
78 #define AK_SUPPORT_THREADS
79 #define AK_SUPPORT_WCHAR
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
93 #define AKSIMD_V4F32_SUPPORTED
94 #if defined(_GAMING_XBOX_XBOXONE)
95 #define AKSIMD_AVX_SUPPORTED // AVX supported on XB1
96 #elif defined(_GAMING_XBOX_SCARLETT)
97 #define AKSIMD_AVX_SUPPORTED // AVX supported on Xbox Series X
98 #define AKSIMD_AVX2_SUPPORTED // ..and AVX2 as welll
101 #if defined(_GAMING_XBOX_SCARLETT)
102 #define AK_THREAD_AFFINITY_ALL 16383 // from 0b0011'1111'1111'1111 -- 14 cores available
103 #define AK_THREAD_AFFINITY_DEFAULT 16383 // from 0b0011'1111'1111'1111 -- Default to 14 fully-available cores
104 #elif defined(_GAMING_XBOX_XBOXONE)
105 #define AK_THREAD_AFFINITY_ALL 127 // from 0b0111'1111 -- 7 cores available
106 #define AK_THREAD_AFFINITY_DEFAULT 63 // from 0b0011'1111 -- Default to only 6 fully-available cores. 7th core is half-available.
109 #define AK_DLLEXPORT __declspec(dllexport)
110 #define AK_DLLIMPORT __declspec(dllimport)
126 #define AK_UINT_MAX UINT_MAX
129 #define AK_MAX_PATH 260
134 #define AkmmioFOURCC( ch0, ch1, ch2, ch3 ) \
135 ( (AkFourcc)(AkUInt8)(ch0) | ( (AkFourcc)(AkUInt8)(ch1) << 8 ) | \
136 ( (AkFourcc)(AkUInt8)(ch2) << 16 ) | ( (AkFourcc)(AkUInt8)(ch3) << 24 ) )
138 #define AK_BANK_PLATFORM_DATA_ALIGNMENT (2048)
140 #define AK_VM_DEVICE_PAGE_SIZE (64*1024)
145 #define AK_OSCHAR_FMT "%ls"
150 #define AKTEXT(x) L ## x
153 #define AK_ASYNC_OPEN_DEFAULT (true)
155 #define AK_COMM_NO_DYNAMIC_PORTS
157 #define AK_COMM_DISABLE_ON_SUSPEND
159 #define AK_WWISE_XMEMALLOC_ALLOCATORID 215
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