AudioSystemImplCVars.cpp 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <AudioSystemImplCVars.h>
  9. #include <AudioEngineWwise_Traits_Platform.h>
  10. namespace Audio::Wwise::Cvars
  11. {
  12. AZ_CVAR(AZ::u64, s_PrimaryMemorySize, AZ_TRAIT_AUDIOENGINEWWISE_PRIMARY_POOL_SIZE,
  13. nullptr, AZ::ConsoleFunctorFlags::Null,
  14. "The size in KiB of the primary memory pool used by the Wwise audio integration.\n"
  15. "Usage: s_PrimaryMemorySize=" AZ_TRAIT_AUDIOENGINEWWISE_PRIMARY_POOL_SIZE_DEFAULT_TEXT "\n");
  16. AZ_CVAR(AZ::u64, s_SecondaryMemorySize, AZ_TRAIT_AUDIOENGINEWWISE_SECONDARY_POOL_SIZE,
  17. nullptr, AZ::ConsoleFunctorFlags::Null,
  18. "The size in KiB of the secondary memory pool. Most platforms do not use this.\n"
  19. "Usage: s_SecondaryMemorySize=" AZ_TRAIT_AUDIOENGINEWWISE_PRIMARY_POOL_SIZE_DEFAULT_TEXT "\n");
  20. AZ_CVAR(AZ::u64, s_StreamDeviceMemorySize, AZ_TRAIT_AUDIOENGINEWWISE_STREAMER_DEVICE_MEMORY_POOL_SIZE,
  21. nullptr, AZ::ConsoleFunctorFlags::Null,
  22. "The size in KiB of the Wwise Stream Device.\n"
  23. "Usage: s_StreamDeviceMemorySize=" AZ_TRAIT_AUDIOENGINEWWISE_STREAMER_DEVICE_MEMORY_POOL_SIZE_DEFAULT_TEXT "\n");
  24. AZ_CVAR(AZ::u64, s_CommandQueueMemorySize, AZ_TRAIT_AUDIOENGINEWWISE_COMMAND_QUEUE_MEMORY_POOL_SIZE,
  25. nullptr, AZ::ConsoleFunctorFlags::Null,
  26. "The size in KiB of the Wwise Command Queue.\n"
  27. "Usage: s_CommandQueueMemorySize=" AZ_TRAIT_AUDIOENGINEWWISE_COMMAND_QUEUE_MEMORY_POOL_SIZE_DEFAULT_TEXT "\n");
  28. #if !defined(WWISE_RELEASE)
  29. AZ_CVAR(AZ::u64, s_MonitorQueueMemorySize, AZ_TRAIT_AUDIOENGINEWWISE_MONITOR_QUEUE_MEMORY_POOL_SIZE,
  30. nullptr, AZ::ConsoleFunctorFlags::Null,
  31. "The size in KiB of the Wwise Monitor Queue.\n"
  32. "Not available in Release build.\n"
  33. "Usage: s_MonitorQueueMemorySize=" AZ_TRAIT_AUDIOENGINEWWISE_MONITOR_QUEUE_MEMORY_POOL_SIZE_DEFAULT_TEXT "\n");
  34. AZ_CVAR(bool, s_EnableCommSystem, false,
  35. nullptr, AZ::ConsoleFunctorFlags::Null,
  36. "Enable initialization of the Wwise Comm system, which allows for remote profiling.\n"
  37. "Not available in Release build.\n"
  38. "Usage: s_EnableCommSystem=true (false)\n");
  39. AZ_CVAR(bool, s_EnableOutputCapture, false,
  40. nullptr, AZ::ConsoleFunctorFlags::Null,
  41. "Capture the main audio output to a WAV file.\n"
  42. "Not available in Release build.\n"
  43. "Usage: s_EnableOutputCapture=true (false)\n");
  44. #endif // !WWISE_RELEASE
  45. } // namespace Audio::Wwise::Cvars