AkAudioBankGenerationHelpers.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*******************************************************************************
  2. The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
  3. Technology released in source code form as part of the game integration package.
  4. The content of this file may not be used without valid licenses to the
  5. AUDIOKINETIC Wwise Technology.
  6. Note that the use of the game engine is subject to the Unreal(R) Engine End User
  7. License Agreement at https://www.unrealengine.com/en-US/eula/unreal
  8. License Usage
  9. Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
  10. this file in accordance with the end user license agreement provided with the
  11. software or, alternatively, in accordance with the terms contained
  12. in a written agreement between you and Audiokinetic Inc.
  13. Copyright (c) 2023 Audiokinetic Inc.
  14. *******************************************************************************/
  15. #pragma once
  16. #include "Misc/EnumClassFlags.h"
  17. #include "Containers/UnrealString.h"
  18. class UAkAudioBank;
  19. namespace AkAudioBankGenerationHelper
  20. {
  21. /**
  22. * Get path to the WwiseConsole application
  23. */
  24. FString GetWwiseConsoleApplicationPath();
  25. /**
  26. * Function to create the Generate SoundBanks window
  27. *
  28. * @param pSoundBanks List of SoundBanks to be pre-selected
  29. * @paramin_bShouldSaveWwiseProject Whether the Wwise project should be saved or not
  30. */
  31. void CreateGenerateSoundDataWindow(bool ProjectSave = false);
  32. enum class AkSoundDataClearFlags
  33. {
  34. None = 0,
  35. SoundBankInfoCache = 1 << 0,
  36. MediaCache = 1 << 1,
  37. };
  38. ENUM_CLASS_FLAGS(AkSoundDataClearFlags)
  39. void DoClearSoundData(AkSoundDataClearFlags ClearFlags);
  40. }