Commit Graph

54 Commits

Author SHA1 Message Date
alex perez
0add9e6c6a [Audio Analyzer] Added IAnalyzerControls + related logic to be able to do live updates.
#jira none
#rb aaron.mcleran, phil.popp, rob.gay

[CL 26986047 by alex perez in ue5-main branch]
2023-08-10 04:57:39 -04:00
christopher waters
4e96f4193d Removing UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_0 and UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_1 including all uses in the engine.
[CL 26259545 by christopher waters in ue5-main branch]
2023-06-27 11:54:23 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -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
christopher waters
e671a70412 Adding includes for upcoming dependency cleanup.
#preflight 63e6a580aa024864c3ec1c15

[CL 24137082 by christopher waters in ue5-main branch]
2023-02-11 12:39:56 -05:00
helen yang
b9eb6cda6c Audio bus subsystem refactor checkpoint
- Move audio bus functionality from Mixer Device to new Audio Bus Subsystem
- Add new audio bus key struct so that FMixerAudioBuses do not have to be created with UObject ids

#jira UE-169610
#rb phil.popp, ryan.mangin, rob.gay
#preflight 63906195255f07df8e452b8c

[CL 23429172 by helen yang in ue5-main branch]
2022-12-07 11:04:50 -05:00
nicholas howe
115d386688 Audio bus reader node output patch buffer size fix
This fixes a bug where audio bus reader nodes might never start popping audio because AudioCallbackBufferFrameSize is set to a value other than the default 1024, such as 256.

Replace AddPatchForAudioBus with AddPatchOutputForAudioBus, which is parameterized by the desired number of frames and channels in the patch output.
Update AddPatchInputForAudioBus to match.
Both functions use a new MakePatch function to create a patch based on the parameters and scaled to fit the number of blocks specified by the new "au.PatchBufferBlocks" cvar.
Add support for quad, 5.1, and 7.1 bus reader and writer nodes.

[REVIEW] [at]phil.popp
#preflight 6386191a4004f73f62c48875

[CL 23312512 by nicholas howe in ue5-main branch]
2022-11-29 12:35:48 -05:00
Rob Gay
25d3c6e253 Audio Dashboard Implementation Checkpoint
#rb helen.yang
#jira UE-168953
#preflight 636d4990a430c8fbeab100a3

[CL 23085100 by Rob Gay in ue5-main branch]
2022-11-10 14:15:27 -05:00
henrik karlsson
8f895fef35 Added includes needed after removing includes in headers
#preflight 6360b63e41625be270a6e464
#rb none

[CL 22888775 by henrik karlsson in ue5-main branch]
2022-11-01 15:14:15 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
ionut matasaru
5dc98e1e0c Fixed "Audio" LLM child tags for Audio_Analysis, Audio_MetaSound and Audio_SpatializationPlugins.
* AudioAnalysis --> Audio_Analysis
* MetaSound --> Audio_MetaSound
* AudioSpatializationPlugins --> Audio_SpatializationPlugins

The LLM_DEFINE_TAG macro needs to use the "underscore convention" to name a child tag prefixed with the name of the parent tag.

#rb Ryan.Mangin
#jira UE-164427
#preflight 632c5057c7791417aa7c7ea8

[CL 22145926 by ionut matasaru in ue5-main branch]
2022-09-22 17:40:29 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
phil popp
2f19544e46 Increased audio LLM tag coverage
#jira UE-148592
#rb  Helen.Yang
#preflight 62cc51f31961b487b39e9478

[CL 21042573 by phil popp in ue5-main branch]
2022-07-11 12:49:10 -04:00
Maxwell Hayes
4d967c3450 Added missing ModularFeatureList lock/unlock
#jira UE-146734
#rb Aaron.McLeran, Phil.Popp
#preflight 623a53eb88538cd45eef0f33

[CL 19473764 by Maxwell Hayes in ue5-main branch]
2022-03-22 19:14:21 -04:00
helen yang
0c14af3503 Various fixes for MetaSound meter functionality
- Add nullptr check when setting bus sends
- Initialize audio analyzer number of frames
- Remove analyzers when tearing down MetaSound audio meter

#jira UE-140872
#rb rob.gay
#preflight 620a9d8f4a08181f72a47f28

#ROBOMERGE-AUTHOR: helen.yang
#ROBOMERGE-SOURCE: CL 18986455 in //UE5/Release-5.0/... via CL 18986877 via CL 18987819
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18988135 by helen yang in ue5-main branch]
2022-02-14 18:35:49 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
rob gay
674fb9f3a0 Move analyzer callsite to use _GameThread version of FMixerDevice::AddPatchForAudioBus, and revert to original implementation of FMixerDevice::AddPatchForAudioBus as all original callers are from the Audio Render Thread
#ROBOMERGE-SOURCE: CL 16121084 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16121094 by rob gay in ue5-main branch]
2021-04-26 21:57:03 -04:00
Steve Robb
7814fec1d1 TSharedPtr is now thread-safe by default.
ESPMode::Fast is deprecated.
UNIQUENETID_ESPMODE and UNIQUENETID_CONSTRUCTORVIS removed.
Delegate creation functions (DelegateType::CreateSP, DelegateType::BindSP and DelegateType::AddSP) now work in all modes, making the DelegateType::*ThreadSafeSP functions redundant (retained for backwards compatibliity).

#rb andriy.tylychko
#jira UE-102565
#fyi chris.varnsverry, ben.zeigler

[CL 16113360 by Steve Robb in ue5-main branch]
2021-04-26 08:56:09 -04:00
mark lintott
6fac2524e0 Non-Unity compile fix
#rb trivial

[CL 15667550 by mark lintott in ue5-main branch]
2021-03-10 13:15:36 -04:00
Aaron McLeran
d28840f230 Build fix removing unnecessary Super::Tick from CL 15512967
#jira none
#rb none

[CL 15632724 by Aaron McLeran in ue5-main branch]
2021-03-06 02:36:20 -04:00
aaron mcleran
cb28ebe1f5 Fix for crash when loading a new level and having the metasound editor open.
-- moved the audio analyzer subsystem to be an engine subsystem vs a world subsystem

#rb Jimmy.Smith
#jira UE-110047

#ROBOMERGE-OWNER: aaron.mcleran
#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 15632634 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)
#ROBOMERGE-CONFLICT from-shelf

[CL 15632681 by aaron mcleran in ue5-main branch]
2021-03-06 01:58:21 -04:00
jonathan bard
670ce37131 Added UTickableWorldSubsystem as a base class for world sub systems that need to be ticked along with their world.
By default:
* It implements FTickableGameObject::GetTickableGameObjectWorld to return the subsystem's world
* It prevents the subsystem from ticking as soon as the subsystem is deinitialized (has required custom solutions in the past to avoid crashes when UWaterSubsystem and UAutoDestroySubsystem get ticked after their world is pending destroy)
* It prevents the subsystem's CDO from ever ticking

#rb jean-francois.dube, chris.gagnon, ben.zeigler
#jira none

[CL 15512967 by jonathan bard in ue5-main branch]
2021-02-24 06:56:06 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Aaron McLeran
a414e9de26 Adding ability for audio analyzer to have native C++ delegate callbacks on analysis results.
Allowing creating analyzer without a world context object (and a world instead)

#rb Rob.Gay
#jira none

[CL 15212742 by Aaron McLeran in ue5-main branch]
2021-01-26 18:56:26 -04:00