Commit Graph

140 Commits

Author SHA1 Message Date
maxwell hayes
fa05331c8d (Edigrate) Move AudioClockManager shutdown from AudioStreamShutdown to object destructor.
This will let the clock manager state persist across audio device swaps.

#jira UE-150823, FORT-431419
#rb Aaron.McLeran
#preflight 62744752021adeb35cbbd331

#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 20066071 in //UE5/Release-5.0/... via CL 20067108
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20067758 by maxwell hayes in ue5-main branch]
2022-05-05 20:35:38 -04:00
bob tellez
c7b8c96656 Merging CL#20037848
[Backout] - CL20029769, 20034044, and 20035018.
[FYI] Maxwell.Hayes
Original CL Desc
-----------------------------------------------------------------
Decoupling Clock Handles' clock access from QuartzSubsystem / FAudioDevice
#jira UE-147373, UE-147374

#rb Aaron.McLeran, Buzz.Burrowes
#preflight 62715f699d6c2f8f5b23fae2

#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 20037851 via CL 20037859 via CL 20037860
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20038591 by bob tellez in ue5-main branch]
2022-05-04 03:16:13 -04:00
maxwell hayes
a2cf8d0e0c Move AudioClockManager shutdown from AudioStreamShutdown to object destructor. This will let the clock manager state persist across audio device swaps.
#rb Aaron.McLeran

#preflight 626c5f99ce3959ce8ff0ca6a

#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 20016745 via CL 20017716 via CL 20017803 via CL 20017858 via CL 20017895
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20018845 by maxwell hayes in ue5-main branch]
2022-05-02 20:43:43 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
buzz burrowes
a794d64aa4 Changes to allow for synchronized "kicking" of certain async audio jobs created during a pass through FMixerDevice::OnProcessAudioStream.
Existing workloads should continue to work as they always have, but it is now possible for a procedural sound (SoundGenerator) to specify a "synchronized render queue" that its "audio decode tasks" should be added to. That queue's jobs are then held for the duration of the OnProcessAudioStream function and only kicked when some "owning" system kicks the queued tasks.

In the Harmonix Music specific case, UMusicEmitterComponent (a subclass of a USynthComponent) creates soundgenerators that specify a unique render queue id. Then, in the Harmonix Music system's "post render callback" which is called at the bottom of the FMixerDevice::OnProcessAudioStream, after doing the synchrnous "state updates" for all of the music renderers to keep them in sync, we kick all the queued up tasks so async rendering can proceed.

[REVIEW] [at]aaron.mcleran [at]phil.popp [at]rob.gay [at]jimmy.smith
#preflight 6216c0c7db60b6b592017336

#ROBOMERGE-AUTHOR: buzz.burrowes
#ROBOMERGE-SOURCE: CL 19107053 via CL 19116514 via CL 19116561 via CL 19116594 via CL 19117383
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19153372 by buzz burrowes in ue5-main branch]
2022-02-25 14:37:02 -05:00
aaron mcleran
158c3a5b16 Removing restricted platform names from file
#rb Maxwell.Hayes
#jira UE-130476
#preflight 6216c015a45a91013f430d08


#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 19106676 via CL 19107096 via CL 19107208 via CL 19107219 via CL 19110186
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19151559 by aaron mcleran in ue5-main branch]
2022-02-25 13:27:37 -05:00
aaron mcleran
8db0b74958 Cleaning up codec definitions on soundwaves.
- Adding new enumeration to select PCM, ADPCM, Bink, and "platform specific"
- Updated platform codecs and various APIs to select correctly which codec to use
- Changed "is seekable streaming" semantics to "Is Seekable" since that is more correct in a post-stream-caching world
- Tried to clean up platform backends. Unable to move Bink decoder to multiplatform code because of module dependencies, will require a future refactor of our decoder module setup.

#rb Phil.Popp, Jimmy.Smith
#jira UE-140860
#preflight 61f97ad7f02e20f45add6d45

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18813332 in //UE5/Release-5.0/... via CL 18813341 via CL 18822758
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824290 by aaron mcleran in ue5-main branch]
2022-02-02 07:35:13 -05:00
buzz burrowes
5c5f4f4148 Add low-level callback system to AudioDevice that allows other systems to monitor audio rendering progress. This will allow those systems to do things like prepare themselves for future callbacks for audio.
[REVIEW] [at]aaron.mcleran [at]phil.popp
#rb phil.popp
#preflight 61f1b9e0f8088a3d2994a5c9

#ROBOMERGE-AUTHOR: buzz.burrowes
#ROBOMERGE-SOURCE: CL 18746699 via CL 18747825 via CL 18747836 via CL 18747853 via CL 18748212 via CL 18748261
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18748262 by buzz burrowes in ue5-main branch]
2022-01-26 19:47:28 -05:00
aaron mcleran
abdc5b2a8a Auto-disable feature for submixes
#jira UE-135675
#rb Phil.Popp
#preflight 61ae93a60e3f4538204bef1d

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18389895 in //UE5/Release-5.0/... via CL 18389923
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18389924 by aaron mcleran in ue5-release-engine-test branch]
2021-12-06 18:26:04 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
aaron mcleran
c35f28d06f Fixing binaural audio
#jira UE-123768
#rb Max.Hayes
[FYI] Sondra.Moyls
#preflight trivial

#ROBOMERGE-SOURCE: CL 17326525 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17326567 by aaron mcleran in ue5-release-engine-test branch]
2021-08-26 17:27:23 -04:00
maxwell hayes
da3e7268bc Properly re-initialize soundfield submixes if the encoding format changes (in editor).
#jira UE-120922
#jira UE-104256
#rb Aaron.McLeran
#p4v-preflight-copy 17142211

#ROBOMERGE-SOURCE: CL 17181771 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17181779 by maxwell hayes in ue5-release-engine-test branch]
2021-08-16 16:49:44 -04:00
phil popp
d58743c382 Fix for ensure when rendering offline and using dynamics processor submix effect.
#jira UE-116992
#rb Aaron.McLeran, Matt.Hoffman
#preflight 6111bfed6c6eb0000113fadf

#ROBOMERGE-SOURCE: CL 17110266 via CL 17110278
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v854-17104634)

[CL 17110285 by phil popp in ue5-release-engine-test branch]
2021-08-09 20:54:29 -04:00
miles flanagan
87e2ec471d Add IsModulationPluginEnabled() safeguards around modulation properties when initializing or editing a submix
#rb Rob.Gay
#jira none

#ROBOMERGE-SOURCE: CL 16662391 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)

[CL 16662412 by miles flanagan in ue5-release-engine-test branch]
2021-06-14 15:11:02 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
miles flanagan
5b2ceba24f Add AudioModulation destinations to Submix OutputVolume, WetLevel, and DryLevel
#rb Rob.Gay
#jira none

[CL 16477193 by miles flanagan in ue5-main branch]
2021-05-26 18:20:48 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
Rob Gay
7a7793e767 Deprecate more AlignedFloatBuffer callsites and use FAlignedFloatBuffer
#rb trivial
#rnx
#preflight 60918ea390631e0001d41516

[CL 16198391 by Rob Gay in ue5-main branch]
2021-05-04 16:05:46 -04:00
Rob Gay
aa960b7417 Fix log spam for missing AudioBus when attempting to connect via DynamicsProcessor by moving to caller, as it can check if it was provided a valid patch and warn accordingly (and throttle as desired).
#preflight 608c5812fbb5fc00013197f1
#rb aaron.mcleran
#rnx
#jira UE-114539

[CL 16172472 by Rob Gay in ue5-main branch]
2021-04-30 16:04:23 -04: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
rob gay
1815b1f1d0 Default EQ Submix off for 5.0 to fix silent output issue in packaged builds
#rb phil.popp
#jira UE-113845, UETOP-1248
#lockdown nick.whiting

#ROBOMERGE-SOURCE: CL 16065696 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16068384 by rob gay in ue5-main branch]
2021-04-20 20:33:53 -04:00
Andriy Tylychko
54fc7c5d8a fixed incorrect usage of IsInAudioThread(), unified launching audio command
#rb aaron.mcleran

[CL 16003566 by Andriy Tylychko in ue5-main branch]
2021-04-14 07:46:36 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00