Files
UnrealEngineUWP/Engine/Source/Runtime/Android/AndroidAudio/Private/AndroidAudioBuffer.cpp
aaron mcleran c30c37b8a3 Adding ability to customize the precache buffer size in engine ini files.
- Adding some new LLM categories to help track decoded precache buffer mem usage and fully decoded buffers.

More info:

Precache buffer sizes, on platforms that utilize the feature, can be a huge memory hog. By reducing their sizes, we can recover quite a bit of memory.
Tricky part of the change is accounting for the variable precache buffer size while still retaining the MONO_PCM_BUFFER_SIZE size for regular real-time decoding cases.
We do a "skip first buffer(s)" step when starting a real-time decoded sound so the smaller precache buffer size needs to be shared to the decoders.


#rb Ethan.Geller, Rob.Gay
#jira


#ROBOMERGE-SOURCE: CL 4696296

[CL 4696323 by aaron mcleran in Main branch]
2019-01-09 17:41:16 -05:00

10 KiB