NOTE: The memory driller is still intact for now to avoid needing to
modify allocators, but the frame/cpu portions of driller and the
standalone executable are now gone.
Signed-off-by: Jeremy Ong <jcong@amazon.com>
Removes a ToString function that wasn't really needed, it was only
defined for release builds, but AZ_PROFILE macros are still defined to
something in release.
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>
* Upgrade s_AudioLoggingOptions to AZ_CVAR
Removes this legacy CVar and reimplements it as an AZ_CVAR with similar
functionality of setting flags using alpha characters.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Upgrade s_DrawAudioDebug to AZ_CVAR
Removes the legacy CVar and reimplements it as an AZ_CVAR with similar
functionality and options.
Additional updates to the logging options CVar to fix up flag enums.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Upgrade s_FileCacheManagerDebugFilter to AZ_CVAR
Removes the legacy CVar and reimplements it as an AZ_CVAR with similar
functionality.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Removal of legacy IConsole dependencies from Audio
Moves a g_languageAudio cvar from CrySystem to AudioSystem.
Convert all cvar commands to AZ_CONSOLEFREEFUNC's.
Remove IConsole.h includes from source files.
Removes the CSoundCVars class.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Minor update to cvar comments etc.
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.