12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- /*******************************************************************************
- The content of this file includes portions of the AUDIOKINETIC Wwise Technology
- released in source code form as part of the SDK installer package.
- Commercial License Usage
- Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
- may use this file in accordance with the end user license agreement provided
- with the software or, alternatively, in accordance with the terms contained in a
- written agreement between you and Audiokinetic Inc.
- Apache License Usage
- Alternatively, this file may be used under the Apache License, Version 2.0 (the
- "Apache License"); you may not use this file except in compliance with the
- Apache License. You may obtain a copy of the Apache License at
- http://www.apache.org/licenses/LICENSE-2.0.
- Unless required by applicable law or agreed to in writing, software distributed
- under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
- OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
- the specific language governing permissions and limitations under the License.
- Copyright (c) 2023 Audiokinetic Inc.
- *******************************************************************************/
- /// \file
- /// Audiokinetic platform checks. This is where we detect which platform
- /// is being compiled, and where we define the corresponding AK-specific
- /// symbols.
- #pragma once
- #if defined( NN_NINTENDO_SDK )
- #include <AK/SoundEngine/Platforms/NX/AkTypes.h>
- #elif defined( _GAMING_XBOX )
- #include <AK/SoundEngine/Platforms/XboxGC/AkTypes.h>
- #elif defined( _WIN32 ) || defined ( _WIN64 ) || defined( WINAPI_FAMILY )
- #include <AK/SoundEngine/Platforms/Windows/AkTypes.h>
- #elif defined( __APPLE__ )
- #include <AK/SoundEngine/Platforms/Mac/AkTypes.h>
-
- #elif defined( __ORBIS__ )
- #include <AK/SoundEngine/Platforms/PS4/AkTypes.h>
-
- #elif defined( __ANDROID__ ) && !defined (AK_LINUX_AOSP)
- #include <AK/SoundEngine/Platforms/Android/AkTypes.h>
- #elif defined( __linux__ )
- #include <AK/SoundEngine/Platforms/Linux/AkTypes.h>
- #elif defined( __EMSCRIPTEN__ )
- #include <AK/SoundEngine/Platforms/Emscripten/AkTypes.h>
-
- #elif defined( __QNX__ )
- #include <AK/SoundEngine/Platforms/QNX/AkTypes.h>
- #elif defined(__has_include)
- #if __has_include("AK/SoundEngine/Platforms/PS5/AkTypes.h")
- #include "AK/SoundEngine/Platforms/PS5/AkTypes.h"
- #endif
- #else
- #error Unsupported platform, or platform-specific symbols not defined
- #endif
|