Version

menu_open
Wwise SDK 2022.1.18
AkPlatforms.h
Go to the documentation of this file.
1 /*******************************************************************************
2 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
3 released in source code form as part of the SDK installer package.
4 
5 Commercial License Usage
6 
7 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
8 may use this file in accordance with the end user license agreement provided
9 with the software or, alternatively, in accordance with the terms contained in a
10 written agreement between you and Audiokinetic Inc.
11 
12 Apache License Usage
13 
14 Alternatively, this file may be used under the Apache License, Version 2.0 (the
15 "Apache License"); you may not use this file except in compliance with the
16 Apache License. You may obtain a copy of the Apache License at
17 http://www.apache.org/licenses/LICENSE-2.0.
18 
19 Unless required by applicable law or agreed to in writing, software distributed
20 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
21 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
22 the specific language governing permissions and limitations under the License.
23 
24  Copyright (c) 2024 Audiokinetic Inc.
25 *******************************************************************************/
26 
27 /// \file
28 /// Audiokinetic platform checks. This is where we detect which platform
29 /// is being compiled, and where we define the corresponding AK-specific
30 /// symbols.
31 
32 #pragma once
33 
34 #if defined( NN_NINTENDO_SDK )
35  #include "nn/nn_Platform.h"
36 #endif
37 
38 #if defined( NN_BUILD_TARGET_PLATFORM_NX )
39 
41 
42 #elif defined( _GAMING_XBOX )
43 
45 
46 #elif defined( _XBOX_ONE )
47 
49 
50 #elif defined( _WIN32 ) || defined ( _WIN64 ) || defined( WINAPI_FAMILY )
51 
53 
54 #elif defined( __APPLE__ )
55 
57 
58 #elif defined( __ORBIS__ )
59 
61 
62 #elif defined( __LUMIN__ )
63 
64  #include <AK/SoundEngine/Platforms/Lumin/AkTypes.h>
65 
66 #elif defined(__HARMONY__)
67 
69 
70 #elif defined( __PROSPERO__ )
71 
73 
74 #elif defined( __ANDROID__ ) && !defined (AK_LINUX_AOSP)
75 
77 
78 #elif defined( __ggp__ )
79 
81 
82 #elif defined( __linux__ )
83 
85 
86 #elif defined( __EMSCRIPTEN__ )
87 
88  #include <AK/SoundEngine/Platforms/Emscripten/AkTypes.h>
89 
90 #elif defined( __QNX__ )
91 
92  #include <AK/SoundEngine/Platforms/QNX/AkTypes.h>
93 
94 #elif defined(__has_include)
95 
96 // AkTypes included here should have internal guardrails to prevent processing if not applicable for current platform
97 
98 #else
99 
100  #error Unsupported platform, or platform-specific symbols not defined
101 
102 #endif

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise