Commit Graph

33 Commits

Author SHA1 Message Date
jimmy smith
c961dcf0eb Fix crash on SDL when Recycle threads is enabled
#rb Brandon.Schaefer
#preflight 62474a46e434babd8a0febfa

[CL 19615416 by jimmy smith in ue5-main branch]
2022-04-04 17:32:45 -04:00
jimmy smith
ca834d3ce8 Fallback to null renderer for SDL mixer if there's no devices.
#rb aaron.mcleran
#preflight 6244ee43292f228e09fbc5a6

[CL 19566951 by jimmy smith in ue5-main branch]
2022-03-30 20:05:28 -04:00
aaron mcleran
2de71fe4b9 Build fix for linux
#jira UE-143528
#rb Dan.Reynolds
#preflight 621675dcc152c67496dce085


#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 19095092 via CL 19095988 via CL 19096263 via CL 19097077 via CL 19105410
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19146748 by aaron mcleran in ue5-main branch]
2022-02-25 09:47:09 -05:00
aaron mcleran
2a4c4724db Fix for bink issue on stadia
#jira UE-143121
#rb Maxwell.Hayes
#preflight 62101ec37e111e92375b6b4a

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 19082371 in //UE5/Release-5.0/... via CL 19097076
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19140771 by aaron mcleran in ue5-main branch]
2022-02-24 23:29:04 -05:00
aaron mcleran
3986f750ce Fix for non-seeking sound waves
#jira UE-137586
#rb Phil.Popp
#preflight 6203040a74604bc6b1915fee

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18946642 in //UE5/Release-5.0/... via CL 18946723 via CL 18946836
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18946849 by aaron mcleran in ue5-main branch]
2022-02-10 19:10:30 -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
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
dan thompson
ab80c69fd3 Bink Audio :: 4/4 :: Integration :: #pf 60aea2116905a6000136901e #pf 60c9308ef7cffb0001674132
Integration touches several places in the engine:

1) SoundWave -- A check box enables Bink Audio as the codec of choice for that sound wave.

2) Decoder - Each supported platform's AudioMixer now returns BINK if the soundwave requests it. Additionally, the TargetPlatform returns BINK as an available codec, and returns it to the cooking code if the sound wave requests it.

3) Encode - TargetPlatform.Build.cs adds the encoder to the editor dependencies, and it gets picked up in the TPMM formats search.


#ROBOMERGE-SOURCE: CL 16682710 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16682731 by dan thompson in ue5-release-engine-test branch]
2021-06-15 20:30:02 -04:00
Brandon Schaefer
766c2bb68e Fixes Linux crash on startup trying to create and compress audio
#jira none
#rb Maxwell.Hayes

[CL 16251516 by Brandon Schaefer in ue5-main branch]
2021-05-10 14:21:42 -04:00
arciel rekman
8d4ab79ff4 AudioMixerSDL: only override the default device (UE-92340).
#rb none
#jira UE-92340
[FYI] Michael.Kirzinger

#ROBOMERGE-SOURCE: CL 13011565 in //UE4/Release-4.25/... via CL 13011572 via CL 13011590
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v683-13008971)

[CL 13011608 by arciel rekman in Main branch]
2020-04-23 14:41:09 -04:00
ethan geller
5584555a2d #jira none
Fix up min call in SDL code.
#rb none

#ROBOMERGE-SOURCE: CL 12122855 in //UE4/Release-4.25/... via CL 12122856
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12122858 by ethan geller in Main branch]
2020-03-11 00:28:36 -04:00
ethan geller
e7a0e97b5d #jira UE-89289
minor: sanity check num channels from the audio device on linux. Callstack for crash indicates an OOB access on envelope array.
#rb none

#ROBOMERGE-SOURCE: CL 12121694 in //UE4/Release-4.25/... via CL 12121697
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12121704 by ethan geller in Main branch]
2020-03-10 20:55:22 -04:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
nick shin
49d56735d0 remove more HTML5 code from engine
#jira UE-80050  Remove HTML5 code from engine
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 10272777 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v591-10236483)

[CL 10272778 by nick shin in Main branch]
2019-11-15 20:50:38 -05:00
ethan geller
a8705988fc Add support for additional device routing to our native VOIP engine. This can be done either by using IOnlineVoice::PatchRemoteTalkerOutputToEndpoint(DeviceName), or by using the console command "voice.sendRemoteTalkersToEndpoint <Device Name Substring>"
#jira UE-82032
#rb
[FYI] brandon.schaefer

#ROBOMERGE-OWNER: ethan.geller
#ROBOMERGE-AUTHOR: ethan.geller
#ROBOMERGE-SOURCE: CL 10091768 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v574-10069753)

[CL 10091772 by ethan geller in Main branch]
2019-11-10 17:18:36 -05:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Josh Markiewicz
d79515867d Copying //UE4/Dev-Online to Dev-Main (//UE4/Dev-Main)
- Up to CL8320930 from DevOnline and 8311605 Merge Down from Main
- skipped some Fortnite content/plugins/code where it tried to reintegrate files that had been moved pending investigation
#rb none

[CL 8321295 by Josh Markiewicz in Main branch]
2019-08-26 18:35:22 -04:00
brandon schaefer
6f98f71929 Mutex around the OutputBuffer and Closing of the SDL_AudioDevice
#jira UE-78401
[CODEREVIEW] Arciel.Rekman
[at]Arciel.Rekman
#rb Arciel.Rekman

#ROBOMERGE-SOURCE: CL 7882340 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v389-7813075)

[CL 7882360 by brandon schaefer in Main branch]
2019-08-08 11:21:39 -04:00
brandon schaefer
1c9b077e77 Allow for overriding the base AudioMixerSDL platform
#jira 77542
[CODEREVIEW] Arciel.Rekman, Aaron.McLeran
[at]Arciel.Rekman, [at]Aaron.McLeran
#rb Arciel.Rekman

#ROBOMERGE-SOURCE: CL 7767337 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7767353 by brandon schaefer in Main branch]
2019-08-05 12:51:25 -04:00
rob gay
bb7a6404b3 More clean-up around initialization of audio MaxChannels/GetPlatformSettings
- Add GetMaxSources() that provides actual max number of sources (internal MaxSources + NumStoppingSources)
- More clean-up around platform implementation for GetPlatformSettings
#rb aaron.mcleran
[FYI] ethan.geller


#ROBOMERGE-OWNER: rob.gay
#ROBOMERGE-AUTHOR: rob.gay
#ROBOMERGE-SOURCE: CL 7675366 via CL 7681898
#ROBOMERGE-BOT: (v382-7680231)

[CL 7681899 by rob gay in Main branch]
2019-08-01 10:17:25 -04:00
rob gay
52e89fb60a Seekable Streams Using LPCM/ADPCM
#rb aaron.mcleran
https://p4-swarm.epicgames.net/reviews/6345090


#ROBOMERGE-SOURCE: CL 6399748 via CL 6400508

[CL 6400529 by rob gay in Main branch]
2019-05-09 12:53:22 -04:00
rob gay
36bd689e3f - Simplify max channel count code by removing GEngineIni look-up for value set in Engine-level ini and just directly setting in UAudioSettings constructor
- Fix bug with IOS & XAudio2 old backends not respecting platform settings code/ini settings
- Move AudioDevice to override quality settings MaxChannels by ANY platform setting, on init, not just the minimal value.  This is okay on init as the source array has yet to be initialized.

https://p4-swarm.epicgames.net/reviews/6260062

#rb ethan.geller
#rb phil.popp


#ROBOMERGE-SOURCE: CL 6345170 via CL 6346183

[CL 6346278 by rob gay in Main branch]
2019-05-07 16:46:48 -04:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
arciel rekman
3c278ef09e More correct SDL initialization/deinitialization flow.
- Attempts to alleviate UE-65544

#rb Marcin.Undak
#jira UE-65544
[FYI] Marcin.Undak

#ROBOMERGE-SOURCE: CL 4495792 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4495794 by arciel rekman in Staging-4.21 branch]
2018-10-22 13:45:30 -04:00