Wwise SDK 2023.1.8
|
The following sections list and describe the changes to Wwise between version 2022.1.6 and version 2022.1.7.
Platform-specific information can be found here:
For earlier versions, please refer to Previous Release Notes.
WG-65225 When using Wwise's default memory allocator, all allocations now go to a single global heap instead of relying on thread-local heaps. This should significantly lower the amount of memory reserved by Wwise throughout the lifetime of the process, and allow the memory reservation over time to be stable and more predictable.
If significant CPU contention over the global heap is observed, due to heavy multi-threaded activity in Wwise, a new configuration setting for Wwise's default memory allocator is now available, AkMemSettings::uMaxThreadLocalHeapAllocSize
. This can be used to configure at what threshold memory allocations are serviced by thread-local heaps instead of the global heap. It is set to 0 by default.
Note that even if AkMemSettings::uMaxThreadLocalHeapAllocSize
is set to a non-zero value, memory allocations that occur on threads that have not executed AK::MemoryMgr::InitForThread
continue to use the global heap. This is intended to avoid the unintentional creation of thread-local heaps when interacting with some Sound Engine APIs on non-Wwise threads which had not executed AK::MemoryMgr::InitForThread
or AK::MemoryMgr::TermForThread
.
Also, the default sizes used to reserve new blocks of memory by calling AkMemSettings::pfAllocVM
are now 2MiB on all platforms, which allows for better opportunities to utilize 2MiB page mappings. This can reduce translation lookaside buffer (TLB) misses incurred during sound engine execution, helping improve performance slightly. In addition, rpmalloc is now configured so that it caches less unused memory and releases memory more readily during periods of low memory use.
AkDataCreatorBase::Grow()
.AkInitSettings::uNumSamplesPerFrame
.AkGameSyncValueTreeItem::Term
when UnregisterGameObj
is called while local modulators are still active on it.Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise