Commit Graph

392 Commits

Author SHA1 Message Date
nicholas howe
184d436e36 Mixer patch fast connect
New patch connections to the mixer are established before the next mix.
Additional adjustments to bus reader and writer buffering to ensure enough data is in their patches.

Differences between the MetaSound and mixer sample rates are still not accounted for in the bus reader/writer nodes or elsewhere.

#jira UE-196230
[REVIEW] [at]phil.popp

[CL 28808728 by nicholas howe in ue5-main branch]
2023-10-16 14:11:32 -04:00
helen yang
22d98bced3 Update use of MetaSound FCreateOperatorParams to FBuilderOperatorParams for perf (Part 2)
#jira UE-195871
#rb phil.popp

[CL 28780997 by helen yang in ue5-main branch]
2023-10-13 20:28:22 -04:00
helen yang
0ab4260553 Update use of MetaSound FCreateOperatorParams to FBuilderOperatorParams for perf (Part 1)
#jira UE-195871
#rb phil.popp

[CL 28779659 by helen yang in ue5-main branch]
2023-10-13 19:29:51 -04:00
maxwell hayes
3455b36fc1 [CIS fix] issues using TUniquePtr<FSoundGeneratorInitParams>
#rb none

[CL 28779069 by maxwell hayes in ue5-main branch]
2023-10-13 19:20:20 -04:00
maxwell hayes
2bcc5567ed [CIS] added missing include.
#rb none

[CL 28777863 by maxwell hayes in ue5-main branch]
2023-10-13 18:50:17 -04:00
maxwell hayes
da84c7b9a9 [CIS] fix for bad merge (multple definitions).
#rb none

[CL 28776454 by maxwell hayes in ue5-main branch]
2023-10-13 18:17:05 -04:00
maxwell hayes
8e9187b0cf [Metasounds] Operator precaching mechanism.
#jira UE-185725, UE-179996,
#rb phil.popp
#swarm https://p4-swarm.epicgames.net/reviews/27703580

[CL 28775007 by maxwell hayes in ue5-main branch]
2023-10-13 17:49:56 -04:00
rob gay
94048f43ca - Make FNodeRegistryKey an actual struct as opposed to a string alias
- Avoids string format/copies/conversions in most cases where its just used as a key
- Deprecate NodeRegistryKey namespace calls
#rb phil.popp
#rb helen.yang

[CL 28727626 by rob gay in ue5-main branch]
2023-10-12 16:37:45 -04:00
dmytro vovk
e1bacd79a0 Second attempt for vectorized audio conversion from float to pcm16 and vica versa with an optimized version for NEON and added a ~10% faster spicialization of ArrayMixIn for NEON
#rb Phil.Popp

[CL 28706860 by dmytro vovk in ue5-main branch]
2023-10-12 08:21:50 -04:00
jimmy smith
4cc08333b4 Fix for Metasounds not using device rate when Quality Settings are disabled
#jira UE-197723
#rb jake.burga

[CL 28692628 by jimmy smith in ue5-main branch]
2023-10-11 19:55:59 -04:00
jimmy smith
f2080e3c96 [Resubmit] Make the CVARs a global override instead of just the defaults
#jira UE-196264
#rb aaron.mcleran

[CL 28627751 by jimmy smith in ue5-main branch]
2023-10-10 13:37:20 -04:00
dmytro vovk
382b7ab8f2 Reverted audio vectorization change
#rb none

[CL 28625268 by dmytro vovk in ue5-main branch]
2023-10-10 12:47:41 -04:00
dmytro vovk
7052f813ef Vectorized audio conversion from float to pcm16 and vica versa with an optimized version for NEON and added a ~10% faster spicialization of ArrayMixIn for NEON
#rb Phil.Popp

[CL 28623173 by dmytro vovk in ue5-main branch]
2023-10-10 12:10:28 -04:00
phil popp
7e2c4e32d2 Fix deadlock in metasound node registration when updating assets
#rb Helen.Yang
#rnx
#jira UE-196443, UE-197063

[CL 28621450 by phil popp in ue5-main branch]
2023-10-10 11:32:28 -04:00
helen yang
75d35f6029 Prevent MetaSound InitResources from running during cook from MetaSounds used in SoundCues
#jira UE-197371
#rb phil.popp

[CL 28592187 by helen yang in ue5-main branch]
2023-10-09 14:40:31 -04:00
bob tellez
28443a5e59 [Backout] - CL28560665
[FYI] jimmy.smith
Original CL Desc
-----------------------------------------------------------------
Make the CVARs a global override instead of just the defaults
#jira UE-196264
#rb aaron.mcleran

[CL 28563662 by bob tellez in ue5-main branch]
2023-10-06 19:42:56 -04:00
jimmy smith
8eed59c6e9 Make the CVARs a global override instead of just the defaults
#jira UE-196264
#rb aaron.mcleran

[CL 28560930 by jimmy smith in ue5-main branch]
2023-10-06 18:51:06 -04:00
phil popp
0b5639c529 Fix caching of runtime inputs.
#rnx
#jira UE-197079
#rb Helen.Yang

[CL 28506782 by phil popp in ue5-main branch]
2023-10-05 13:40:45 -04:00
phil popp
bb1a939329 Fix logspam on failure to initialize metasound parameters.
#rnx
#jira UE-197081
#rb Helen.Yang

[CL 28478303 by phil popp in ue5-main branch]
2023-10-04 17:59:57 -04:00
phil popp
a0366b7589 Fix deadlock when async building metasounds
Ensure MetaSound graphs are only registered on the game thread.
#rb Rob.Gay
#jira UE-196443, FORT-660159

[CL 28418467 by phil popp in ue5-main branch]
2023-10-03 12:17:13 -04:00
charlie huguenard
fe8e832250 [Metasound] Use a map for faster generator handle output lookup.
This results in a ~70% CPU time improvement.

#jira UE-196859
#rb phil.popp, matthew.booth

[CL 28417691 by charlie huguenard in ue5-main branch]
2023-10-03 12:04:46 -04:00
charlie huguenard
2ac6945a2c [Metasound] Use FindClassOutputWithName instead of GetOutputNodeWithName to get output metadata in FMetasoundGeneratorHandle::WatchOutputs
This results in a 98% improvement in CPU time.

#jira UE-196859
#rb phil.popp

[CL 28410906 by charlie huguenard in ue5-main branch]
2023-10-03 08:47:53 -04:00
matthew booth
b07fdf099c Limit the amount of log spam:
LogMetaSound: Warning: Underrun detected in audio bus writer node
[REVIEW] [at]charlie.huguenard
[FYI] [at]nick.howe

[CL 28349333 by matthew booth in ue5-main branch]
2023-09-29 14:26:52 -04:00
phil popp
e631780063 Register metasound graphs asynchronously
#jira UE-185834, FORT-658630
#rb Rob.Gay, Helen.Yang

[CL 28149471 by phil popp in ue5-main branch]
2023-09-22 15:01:07 -04:00
jimmy smith
ccd6a401b5 Mute warning on Quality Missing for CIS
[CL 28118437 by jimmy smith in ue5-main branch]
2023-09-21 20:57:04 -04:00