One fixes string literal format specifiers warnings that were disabled.
One fixes a FileFunc utility that was removed.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Fix issues with locating and loading loc banks
The code that initially checked the g_languageAudio cvar wasn't properly
detecting when the cvar wasn't set. Fixed an issue discovering
localized banks wasn't properly recursing into subdirectories.
Simplified handling of audio language switching for Wwise.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Address feedback on PR
Change .size() == 0 to .empty()
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Fix a crash when reloading ACE controls data
The crash was due to destruction of xml_node that was held in a
unique_ptr. Rapidxml has a very rudimentary memory allocation design,
so in most cases dynamic allocations aren't even made. The memory_pool
does all the cleanup in its destructor, so having a unique_ptr run its
default_delete was causing the crash.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Fix numerical conversion warnings
Wwise source files needed a few fixes for the numerical conversion
warning changes that went in recently.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Some var cleanup so it shows better-organized in cmake-gui. Some vars were also not following the namign convention we are using
Removed some unnecessary messaging
Fixed a TIF bug where it would report the wrong test in a message, fixed a message that was being triggered
Changed TIF to be enabled just by the binary so running the ci_build scripts locally doesnt trigger TIF messaging
Removed `LY_ENABLE_MULTIPLAYER_COMPRESSION`, it was not being used
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
* handling case where a parameter can be empty
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
* needs to be var name, not contents
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
* Removes use of gEnv->mMainThreadId
Save off the thread id that was used when initializing audio system and
connecting EBuses, use that instead of gEnv.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Replace uses of gEnv->pCryPak with AZ::IO
Updated uses of pCryPak to instead go through the AZ::IO::FileIOBase
instance.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
Change DeepCopyNode utility to return a unique_ptr, fix up some
string/path usages to avoid temporaries, etc.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
Updates the Audio Controls Editor code to use rapidxml instead of legacy
xml apis. Further makes improvements to path manipulations away from
strings towards PathView apis and similar.
Fixes some issues encountered with memory management when handling xml
data that did not occur previously.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com>
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com>
* Reinstates an allocator for FileCacheManager
Replaces the allocator that was removed during redcode that is used for
loading banks. Default schema for now to get things working again.
* Update path functions to AZ::IO::Path
Removes old PathUtil functions in favor of AZ::IO::Path apis.
* Update the audio allocator classes
Cleans up the audio allocator classes a bit.
* Addresses PR feedback
Updates some code to handle nullptr a bit better, and improve log
messages.
* Updates to audio CVars and address feedback
Per feedback, converted more of the audio cvars to AZ_CVAR, but not all
of them could be converted at this time. Moved audio allocator
initialization to system component ctor/dtor to give RAII. Updated
location of a PAL file.
* Updates the copyright of the file added in this PR
Merged copyright changes, so need to update new files.
Updates to some AzCore functions a while ago made some path functions
strip off a trailing slash, which caused bad paths to be used when
loading middleware data. Updated the code to use better path APIs.
* Code updates for Wwise 2021.1.X support.
* [WIP] CMake updates for Wwise 2021.1.X support.
* Updates FindWwise.cmake to search for a Wwise install or let user set it as cache variable.
* Makes Wwise SDK optional, and the AudioEngineWwise Gem will revert to a 'stub' build if no SDK found.
* Adding a .gitignore for Wwise project files.
* Updates a .wcmdline file for integration into Wwise projects.
* Updates the cmake messaging regarding Wwise SDK and smooths out some of configuration scenarios.
* Updates the Wwise project for AutomatedTesting to ver 2021.1.1.7601 and rebuilds banks.
Remove:
- CryCommon/CryExtension/*
- CryCommon/Serialization/*
- Sandbox/Plugins/EditorCommon/QPropertyTree/*
- All related CryCommon interfaces
- All CrySystem implementations
- Various related Editor classes