forked from mirrors/0ad
94c907342a
Remove manual memory management throughout the SoundManager subsystem in favor of unorderedmap. Key changes: - Eliminate manual new/delete calls and potential memory leaks - Update all sound item classes to use SoundManager factory - Modernize resource management in OggData and related components - Ensure exception-safe memory handling across the audio pipeline This refactoring improves code maintainability, reduces crash risk from memory errors, and aligns with modern C++ best practices.