Version

menu_open

include/AK/AkPlatforms.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
00003 released in source code form as part of the SDK installer package.
00004 
00005 Commercial License Usage
00006 
00007 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
00008 may use this file in accordance with the end user license agreement provided 
00009 with the software or, alternatively, in accordance with the terms contained in a
00010 written agreement between you and Audiokinetic Inc.
00011 
00012 Apache License Usage
00013 
00014 Alternatively, this file may be used under the Apache License, Version 2.0 (the 
00015 "Apache License"); you may not use this file except in compliance with the 
00016 Apache License. You may obtain a copy of the Apache License at 
00017 http://www.apache.org/licenses/LICENSE-2.0.
00018 
00019 Unless required by applicable law or agreed to in writing, software distributed
00020 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
00021 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
00022 the specific language governing permissions and limitations under the License.
00023 
00024   Version: <VERSION>  Build: <BUILDNUMBER>
00025   Copyright (c) <COPYRIGHTYEAR> Audiokinetic Inc.
00026 *******************************************************************************/
00027 
00028 /// \file 
00029 /// Audiokinetic platform checks. This is where we detect which platform
00030 /// is being compiled, and where we define the corresponding AK-specific
00031 /// symbols.
00032 
00033 #pragma once
00034 
00035 #if defined( NN_NINTENDO_SDK )
00036 
00037     #include <AK/SoundEngine/Platforms/NX/AkTypes.h>
00038 
00039 #elif defined( _XBOX_ONE )
00040 
00041     #include <AK/SoundEngine/Platforms/XboxOne/AkTypes.h>
00042 
00043 #elif defined( _WIN32 ) || defined ( _WIN64 ) || defined( WINAPI_FAMILY )
00044 
00045     #include <AK/SoundEngine/Platforms/Windows/AkTypes.h>
00046 
00047 #elif defined( __APPLE__ )
00048 
00049     #include <AK/SoundEngine/Platforms/Mac/AkTypes.h>
00050 
00051 #elif defined( __SCE__ ) && defined( __arm__ )
00052 
00053     #include <AK/SoundEngine/Platforms/Vita/AkTypes.h>
00054     
00055 #elif defined( __ORBIS__ )
00056 
00057     #include <AK/SoundEngine/Platforms/PS4/AkTypes.h>
00058 
00059 #elif defined( __ANDROID__ )
00060 
00061     #include <AK/SoundEngine/Platforms/Android/AkTypes.h>
00062 
00063 #elif defined( __linux__ )
00064 
00065     #include <AK/SoundEngine/Platforms/Linux/AkTypes.h>
00066 
00067 #elif defined( __EMSCRIPTEN__ )
00068 
00069     #include <AK/SoundEngine/Platforms/Emscripten/AkTypes.h>
00070     
00071 #elif defined( __QNX__ )
00072 
00073     #include <AK/SoundEngine/Platforms/QNX/AkTypes.h>
00074 
00075 #else
00076 
00077     #error Unsupported platform, or platform-specific symbols not defined
00078 
00079 #endif

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

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