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>
* 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>
* 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.
* 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