feat(diagnostics): complete residency pressure ledger
Complete Slice D4 by adding aggregate lifecycle occupancy and traffic facts, validating physical source reports, and including decoded audio under the typed startup budget. Exercise every domain under forced pressure and retain the real cache/fence convergence gates.
This commit is contained in:
parent
f2644d42c2
commit
1853a57c12
15 changed files with 297 additions and 15 deletions
|
|
@ -113,7 +113,9 @@ internal interface IContentEffectsAudioCompositionFactory
|
|||
EntityEffectPoseRegistry poses);
|
||||
TranslucencyHookSink CreateTranslucencySink(TranslucencyFadeManager fades);
|
||||
AnimationHookRegistrationSet CreateHookRegistrations(AnimationHookRouter router);
|
||||
DatSoundCache CreateSoundCache(IDatReaderWriter dats);
|
||||
DatSoundCache CreateSoundCache(
|
||||
IDatReaderWriter dats,
|
||||
long maximumDecodedBytes);
|
||||
OpenAlAudioEngine CreateAudioEngine();
|
||||
DictionaryEntitySoundTable CreateEntitySoundTables();
|
||||
AudioHookSink CreateAudioSink(
|
||||
|
|
@ -204,7 +206,10 @@ internal sealed class RetailContentEffectsAudioCompositionFactory
|
|||
AnimationHookRouter router) =>
|
||||
new(router);
|
||||
|
||||
public DatSoundCache CreateSoundCache(IDatReaderWriter dats) => new(dats);
|
||||
public DatSoundCache CreateSoundCache(
|
||||
IDatReaderWriter dats,
|
||||
long maximumDecodedBytes) =>
|
||||
new(dats, maximumDecodedBytes);
|
||||
|
||||
public OpenAlAudioEngine CreateAudioEngine() => new();
|
||||
|
||||
|
|
@ -426,7 +431,9 @@ internal sealed class ContentEffectsAudioCompositionPhase :
|
|||
engineLease;
|
||||
try
|
||||
{
|
||||
DatSoundCache cache = _factory.CreateSoundCache(dats);
|
||||
DatSoundCache cache = _factory.CreateSoundCache(
|
||||
dats,
|
||||
_dependencies.ResidencyBudgets.AudioBytes);
|
||||
Fault(ContentEffectsAudioCompositionPoint.SoundCacheCreated);
|
||||
engineLease = audioScope.Acquire(
|
||||
"OpenAL audio engine",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue