91 Commits

Author SHA1 Message Date
rob gay
b086e2218f Enable nulling out object parameters/proxies from BP/game thread transmitter requests.
#rb phil.popp
#rnx
#fyi buzz.burrows
#p4v-cherrypick 26490829

[CL 26558324 by rob gay in 5.3 branch]
2023-07-24 18:29:31 -04:00
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
marc audy
38f263e67a Remove self-included header and replace with needed one for non-unity
[CODEREVIEW] jimmy.smith
#jira
#rnx

[CL 25980407 by marc audy in ue5-main branch]
2023-06-14 11:36:57 -04:00
jimmy smith
fb4a94f3b2 Fix submix failing postload check
#rb josh.adams phil.popp
#jira UE-187568

[CL 25967416 by jimmy smith in ue5-main branch]
2023-06-13 19:27:15 -04:00
jimmy smith
86a7881a4b Fix for potential memory corruption
#jira UE-172845
#rbx

[CL 25828623 by jimmy smith in ue5-main branch]
2023-06-06 17:14:19 -04:00
jimmy smith
d256cc1f44 Deprecate IAudioCodec API
#rb alfaroh.corney jake.burga
#jira none
#preflight 6477eaae1c5c2b3fa2e4e53d

[CL 25770939 by jimmy smith in ue5-main branch]
2023-06-02 15:27:25 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
phil popp
274f01210e Remove transmittable input nodes and move updating parameters to the metasound generator
#jira UE-179992
#rb Rob.Gay
#preflight 642d9f944847065878db1c64

[CL 24937473 by phil popp in ue5-main branch]
2023-04-05 17:38:47 -04:00
rob gay
1de499ef8e More MetaSound Interface registry clean-up
- Move bIsDefault/bCanEdit(renamed bIsModifiable) from InterfaceRegistryEntry to Interface data definition
- Add checks in builder to disallow mutation of interfaces that shouldn't be via editor or document builder (ex. SourceInterface which is default and then never changed)
- Optimize SearchEngine query for finding default interfaces
- Tweak MetaSoundUObjectRegistry to support non MetasoundAssetBase classes and add UMetaSoundBuilderDocument. Update iterator w/optional param to only return asset types (true by default for back compat)
- Move FName class name comparitors to use new TopLevelAssetPath
#rb phil.popp
#jira UE-181360
#rnx
#p4v-preflight-copy 24658328
#preflight 642b10834d26bcd1eb0e566c

[CL 24920763 by rob gay in ue5-main branch]
2023-04-04 19:14:26 -04:00
phil popp
b231f62c22 Fix default values not being retained when sound is virtualized.
#jira UE-181571
#rnx
#rb Rob.Gay
#preflight 642afc938f078cc7032ce840
#lockdown aaron.mcleran

[CL 24899626 by phil popp in ue5-main branch]
2023-04-03 16:20:21 -04:00
charlie huguenard
4fdfbdf806 [Metasound] Watch outputs on a FMetasoundGenerator
#rb rob.gay, phil.popp
#preflight 6414cabd345ab08524fc9542

[CL 24723801 by charlie huguenard in ue5-main branch]
2023-03-20 17:13:25 -04:00
aaron mcleran
e26abde9d6 Adding ability to have different options for 2D, non-spatialized radius blend.
* Legacy omni blend
* Direct 2D (i.e. stereo)
* Immersive 2D (i.e. quad)

#rb Jimmy.Smith
#jira UE-175029
#preflight 63e2d4039910415ae207526e

[CL 24586912 by aaron mcleran in ue5-main branch]
2023-03-09 21:01:41 -05:00
rob gay
0214d1c465 - Fix crash w/PostInitProperties initialization of MetaSoundDocumentBuilder
- Fix bugs with interfaces not registering with the correct UClass types
- Add missing RemoveByInterfaceBinding MS Builder function
- Builder cache fix for ContainsEdge
#rb trivial
#rnx
#preflight 640a34153c2db40029343bab

[CL 24584406 by rob gay in ue5-main branch]
2023-03-09 17:56:53 -05:00
rob gay
aeb25bb49d - Add Runtime MetaSound Builder support
- Add MetaSound Patch Interface support
- Add MetaSound Interface Bindings
#rb phil.popp
#preflight 640783bd5515f4f57b4b1268
[FYI] Sondra.Moyls
[FYI] Dan.Reynolds

[CL 24548617 by rob gay in ue5-main branch]
2023-03-07 17:01:52 -05:00
steve robb
ad6364e24e Replaced some enable-if/disable-if overloads with if constexpr blocks in a single function.
#rb devin.doucette
#preflight 63d45377f626715201acf9cb

[CL 23897639 by steve robb in ue5-main branch]
2023-01-27 23:12:19 -05:00
miles flanagan
12db51511d Add Trigger type to EAudioParameter so triggers can be differentiated from Boolean paramters
#preflight 63bc9d5f68068a8bd611ec28
#rb rob.gay

[CL 23748006 by miles flanagan in ue5-main branch]
2023-01-17 18:39:44 -05:00
steve robb
b1201830a3 Removed TIsSame usage from AIModule (part of a larger change to deprecate TIsSame).
#rb none
#preflight 63c1a94c2e714f64ad2d7f36

[CL 23685806 by steve robb in ue5-main branch]
2023-01-13 15:58:40 -05:00
phil popp
96ab5837f2 Deprecate use of TUniquePtr in Audio::IProxyData
Introduce TSharedPtr<Audio::IProxyData> CreateProxyData()
Fix up deprecated callsites.

#jira UE-162062
#rb Rob.Gay
#fyi Miles.Flanagan
#preflight 639a0f262960b732207fc1e3

[CL 23515287 by phil popp in ue5-main branch]
2022-12-14 13:56:22 -05:00
henrik karlsson
4a36cfe8ff Moved operator== to be hidden friend instead of put directly in global namespace
Moved GetTypeHash function to be hidden friend instead of put directly in global namespace.

Note that the function/operator needs to be fully inlined in the type or placed in the cpp. If the function is added as friend but then implemented outside the type then hidden friend optimization won't work.

This should improve compile time somewhat according to msvc devs.

#rb Steve.Robb
#preflight 6360b7052b5338aceb26471b

[CL 22889837 by henrik karlsson in ue5-main branch]
2022-11-01 15:50:27 -04:00
phil popp
ebbf23d3fe Fix crash from malformed printf
#rnx
#rb trivial

[CL 22475281 by phil popp in ue5-main branch]
2022-10-12 02:36:19 -04:00
alfaroh corneyiii
ad525b20a0 Fix Audio Modulation Parameter Mismatch UI Bug
#jira UE-126644
#preflight 6340aee2437603cb0e4f14d8
#rb rob.gay
#lockdown aurel.cordonnier

[CL 22414481 by alfaroh corneyiii in ue5-main branch]
2022-10-07 21:33:37 -04:00
bryan sefcik
1e8df43bc3 Moved AUDIO_SPATIALIZATION_PLUGIN_LLM_SCOPE from AudioDevice.h to IAudioExtensionPlugin.h to improve compile times because AudioDevice.h is expensive to include.
#rb jimmy.smith
#preflight 633ce6911451b83c2a5ede8e

[CL 22346864 by bryan sefcik in ue5-main branch]
2022-10-04 22:35:22 -04:00
igor dallavanzi
f41b2ac7a3 [WaveformTransformations] Add Configuration handling to UWaveformTransformationBase for parameter range checks ecc
#preflight 633470b0b84cbb36d5f6da74
fix for #jira UE-163720

[CL 22260584 by igor dallavanzi in ue5-main branch]
2022-09-29 20:26:06 -04:00
rob gay
08f64dc10a [MetaSounds] Param loop virtualization fixes
- Split default param transmitter to SoundCueTransmitter & ParameterTransmitterBase to avoid generating transmitters for SoundBase child classes that don't support/require one (ex. SoundWaves)
- Move param transmitter to sharedptrs to avoid a bunch of unnecessary copy/clone logic when virtualizing loops
- Remove DefaultParameters field on ActiveSound in favor of shared impl in FParameterTransmitterBase that caches current state of parameters
- Fix for move that clears out active sound's current parameters when sound could have multiple wave instances that need said parameters
#rb phil.popp
#jira UE-164898
#preflight 6334a0a1ee7b13756dcd20ea

[CL 22240385 by rob gay in ue5-main branch]
2022-09-28 22:19:31 -04:00