Commit Graph

78 Commits

Author SHA1 Message Date
jens petersam
82d0219bf2 Enabling Opus audio for SoundWaves
#jira UE-190764
#rnx

[CL 26539296 by jens petersam in ue5-main branch]
2023-07-24 04:09:20 -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
jimmy smith
ec74f70ba0 Disable Device Swapping on hardware timeouts when we've got debugger attached. Prevents needless swaps/spam when stepping in debugger.
#rb aaron.mcleran

[CL 26064219 by jimmy smith in ue5-main branch]
2023-06-16 14:51:48 -04:00
devin doucette
4e02304b05 Moved API macro from types to members to fix compiling for Windows with Clang
An optimization to UE_LOG exposed an issue in Clang when targeting Windows. Log statements in inline functions of imported types fail to compile.

#preflight 63f7f350ef1b24bf94367191
#rb Zousar.Shaker
#rnx

[CL 24397809 by devin doucette in ue5-main branch]
2023-02-24 03:58:21 -05:00
henrik karlsson
c74a887e4b Header unit fixes
* Added ScriptDelegateFwd.h and put it in the right module (CoreUObject). before fwd declarations was in Core.
* Fixed problem with StructuredArchive forward declaring and used functions that was force inlined in another file. header units did not like this and caused linker errors (and I'm surprised it worked before)
* Various fixes related to how global variables are defined (static for global variables means that they are not visible outside header units)
* Various fixes related to how global functions are defined (static for global functions means that they are not visible outside header units)
* Move some method implementations to cpp file to work around header unit compile crashes (and they should probably be there firstplace)
* Removed *_API on some types to fix header unit linker errors
* Added WITH_EDITOR around code that only compiles in editor config (these headers were not included anywhere but HU can't know that)

#preflight 63f50161ac06ce789f9c34d2
#rb steve.robb

[CL 24348303 by henrik karlsson in ue5-main branch]
2023-02-21 15:24:28 -05:00
Leon Huang
e3230162c2 Fix for an audio memory stomp in FliteTextToSpeech.
- Introduced audio fences when registering and unregistering FFliteTextToSpeechSubmixListener with the audio device manager.
- Added virtual destructors to audio class interfaces.

#jira: UE-168892
#rb: Jimmy.Smith
#preflight: 63d08bc5d83c1837b1d1488f

[CL 23843387 by Leon Huang in ue5-main branch]
2023-01-24 21:32:39 -05:00
jimmy smith
64b5873f56 Deprecate CreateCompressedInfo path and GetRuntimeFormat in favour of IAudioInfoFactoryRegistry
#rb phill.popp
#jira none
#preflight 63bca93f0b7fcef8b093d9b7

[CL 23622468 by jimmy smith in ue5-main branch]
2023-01-09 19:09:51 -05:00
Andriy Tylychko
d48f6660b8 removed StatsThread as it's not used anymore
cleaned recent removal of AudioThread
removed `StatsThread` and `AudioThread` from ENamedThreads
renamed FPlatformAffinity::GetAudioThreadMask() to GetAudioRenderThreadMask() as it's still used for AudioRenderThread
#preflight 6393383ac709c7275629d513
#rb francis.hurteau
#preflight 63970ef35624e6da5e3f4d5e

[CL 23476743 by Andriy Tylychko in ue5-main branch]
2022-12-12 07:33:07 -05:00
Rob Gay
0aea4101c6 Checkpoint: Audio Insights Plugin dashboard work (Part 1)
- Clean-up Audio Trace macros
- Add "AudioChannel" trace channel
- Remove stubbed in properties for misc dashboard widget factories from dashboard factory
- Add virtualization tab
- Move Log & OutputMeter to separate implementation/header files
#rb helen.yang
#jira UE-23172871
#rnx
#preflight 637d2360f514e1ded91b75b1

[CL 23240278 by Rob Gay in ue5-main branch]
2022-11-22 14:53:01 -05:00
Rob Gay
5453650939 Checkpoint: Pipe source data to dashboard UI listview (Part 1)
- Add trace provider, module, & analyzer and start piping data through it as proof-of-concept
#rb max.hayes
#jira UE-169605
#rnx
#preflight 63753d471d25fe8b933fa452

[CL 23160520 by Rob Gay in ue5-main branch]
2022-11-16 15:13:38 -05:00
henrik karlsson
2fb94bc73b [Engine]
* Removed includes from SoundBase.h since it is frequently included outside engine
* enum EAudioSpeakers  -> enum EAudioSpeakers : int (This just makes it possible to forward declare enum.. nothing else changes. Not defining is the same as being int)

#preflight 635709a49e14ee3c796ddee4
#rb none

[CL 22788128 by henrik karlsson in ue5-main branch]
2022-10-26 16:14:19 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -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
anna lantz
5ab2d154be Inclusive language push, removing master/slave language from Audio Mixer + proper deprecations
#jira UE-158648
#rb trivial
#preflight 62cca5c36a67c3717a57a124

[CL 21049392 by anna lantz in ue5-main branch]
2022-07-11 18:51:13 -04:00
phil popp
2fadfa51ec Audio signal processing cleanup
- Removing need for alignment in audio DSP.
- Decreased header dependencies across codebase to improve build times
- Fixed improper `using namespace` issues.
#jira UE-147590
#rb Helen.Yang, Alfaroh.Corneyiii
#preflight 62a789bd2c521c9c6dac7bb6

[CL 20648535 by phil popp in ue5-main branch]
2022-06-14 10:44:07 -04:00
aaron mcleran
3641a68226 Adding project level default codec settings
#rb Maxwell.Hayes, Sondra.Moyls
#jira UE-150332

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 19946772 via CL 19946852 via CL 19946872
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19952418 by aaron mcleran in ue5-main branch]
2022-04-28 02:00:15 -04:00
phil popp
19e92146d9 Intesl ISPC optimizations for Audio
Submitting on behalf of Jeff Rous
#rb phil.popp
#jira UE-141709
#fyi jeff.rous
#preflight 624b22e773665f7d5e84281e

[CL 19611484 by phil popp in ue5-main branch]
2022-04-04 13:09:43 -04: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
anna lantz
6bddec5b65 PR #8070: Fix copy paste in audio mixer thread priority (Contributed by mastercoms)
#jira UE-116518
[REVIEW] anna.lantz
#preflight 620adcd3674d5ad0da949d69

#ROBOMERGE-AUTHOR: anna.lantz
#ROBOMERGE-SOURCE: CL 18989161 in //UE5/Release-5.0/... via CL 18992550 via CL 18992922
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18993035 by anna lantz in ue5-main branch]
2022-02-15 01:56:15 -05:00
miles flanagan
1ef363d080 Fix sound submixes using linear volume values in decibel contexts when the modulation plugin is enabled.
#preflight 61f9d7d5162e627eab50d6df

#ROBOMERGE-AUTHOR: miles.flanagan
#ROBOMERGE-SOURCE: CL 18819598 in //UE5/Release-5.0/... via CL 18819607 via CL 18822893
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824748 by miles flanagan in ue5-main branch]
2022-02-02 08:01:16 -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
maxwell hayes
df6016d999 Fix for missing decrement in audio Streaming Cache (causing ensure on shutdown)
#rb Aaron.McLeran
#jira UE-137297, UE-138165
#rnx
#preflight 61e9d1fed3499d380f38d2f2

#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 18681641 in //UE5/Release-5.0/... via CL 18681839 via CL 18681904
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18681970 by maxwell hayes in ue5-main branch]
2022-01-20 16:48:13 -05:00
anna lantz
b597668733 Audio Platform Settings UX cleanup
#rb aaron.mcleran, ryan.mangin
#preflight 61e0c3d4250b9537f7898dc0

#ROBOMERGE-AUTHOR: anna.lantz
#ROBOMERGE-SOURCE: CL 18611261 in //UE5/Release-5.0/... via CL 18611272 via CL 18611282
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18611301 by anna lantz in ue5-main branch]
2022-01-13 19:44:31 -05:00
rob gay
522b5ad474 Split Modulation Registration into actual registration/Modulation proxy generation vs Settings construction to support AudioDevice-less DATAProxy generation
- Made modulator settings objects stateless & removed AudioDevice dependency in mod settings constructors.
- Required moving ModulationParameters to thread-safe registered singleton registry in AudioExtensions and out of plugin
- Rename IAudioModulation/FAudioModulation to IAudioModulationManager/FAudioModulationManager for clarity
#rb phil.popp
#jira UE-138516
#rnx
#preflight 61ddc6b9f33c075417271dc2

#ROBOMERGE-AUTHOR: rob.gay
#ROBOMERGE-SOURCE: CL 18574824 in //UE5/Release-5.0/... via CL 18574848
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18574874 by rob gay in ue5-release-engine-test branch]
2022-01-11 13:52:09 -05:00
mickael gilabert
c1112d51c3 Added au.RenderThreadAffinity cvar to be able to override AudioMixerRenderThread affinity if needed
[REVIEW] [at]aaron.mcleran, [at]ben.woodhouse
#rnx

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 18547140 via CL 18547179 via CL 18547215 via CL 18547225 via CL 18547237 via CL 18549218 via CL 18549252
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18549275 by mickael gilabert in ue5-release-engine-test branch]
2022-01-07 14:28:39 -05:00