AkMemoryMgrFuncs.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. Commercial License Usage
  5. Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
  6. may use this file in accordance with the end user license agreement provided
  7. with the software or, alternatively, in accordance with the terms contained in a
  8. written agreement between you and Audiokinetic Inc.
  9. Apache License Usage
  10. Alternatively, this file may be used under the Apache License, Version 2.0 (the
  11. "Apache License"); you may not use this file except in compliance with the
  12. Apache License. You may obtain a copy of the Apache License at
  13. http://www.apache.org/licenses/LICENSE-2.0.
  14. Unless required by applicable law or agreed to in writing, software distributed
  15. under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
  16. OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
  17. the specific language governing permissions and limitations under the License.
  18. Copyright (c) 2023 Audiokinetic Inc.
  19. *******************************************************************************/
  20. // AkMemoryMgrFuncs.h
  21. /// \file
  22. /// Platform-dependent function definitions for memory mgr
  23. #pragma once
  24. #include <AK/SoundEngine/Common/AkTypes.h>
  25. #if defined(AK_WIN)
  26. #include <AK/SoundEngine/Platforms/Windows/AkMemoryMgrFuncs.h>
  27. #elif defined (AK_XBOX)
  28. #include <AK/SoundEngine/Platforms/XboxGC/AkMemoryMgrFuncs.h>
  29. #elif defined (AK_PS4)
  30. #include <AK/SoundEngine/Platforms/PS4/AkMemoryMgrFuncs.h>
  31. #elif defined (AK_PS5)
  32. #include <AK/SoundEngine/Platforms/PS5/AkMemoryMgrFuncs.h>
  33. #elif defined (AK_NX)
  34. #include <AK/SoundEngine/Platforms/NX/AkMemoryMgrFuncs.h>
  35. #elif defined (AK_APPLE) || defined (AK_LINUX) || defined(AK_QNX) | defined( AK_ANDROID ) || defined ( AK_LINUX_AOSP ) || defined(AK_EMSCRIPTEN)
  36. #include <AK/SoundEngine/Platforms/POSIX/AkMemoryMgrFuncs.h>
  37. #else
  38. #error AkMemoryMgrFuncs.h: Undefined platform
  39. #endif