Commit Graph

30 Commits

Author SHA1 Message Date
Marcus Wassmer 3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
jimmy smith 88ca1e7ef6 Circular buffer refactor of AudioMixer produce/consume cycles. (code by Ethan).
#rb Ethan.Geller, Aaron.Mcleran, Rob.Gay, Maxwell.Hayes, Phil.Popp
[FYI] ethan.geller

#ROBOMERGE-SOURCE: CL 12826047 via CL 12826127 via CL 12826139
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12826160 by jimmy smith in Main branch]
2020-04-15 17:21:20 -04:00
ethan geller bcdd5a52a9 #jira UE-89071
Fix for shutdown for single-threaded applications. FadeOut waits for an FEvent that never gets hit.
#rb aaron.mcleran

#ROBOMERGE-SOURCE: CL 12665051 in //UE4/Release-4.25/... via CL 12665057 via CL 12665070
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12665084 by ethan geller in Main branch]
2020-04-07 17:56:28 -04:00
rob gay 853548e7af Clean-up using TryLock
#rb aaron.mcleran
[FYI] maxwell.hayes
#rnx

#ROBOMERGE-SOURCE: CL 12497787 via CL 12497792 via CL 12497795
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12497805 by rob gay in Main branch]
2020-03-31 12:22:49 -04:00
maxwell hayes 06e4f4b0d8 Added extra logging behind a cvar to help diagnose "client sometimes launches with no audio" issue
#rb Rob.Gay


#ROBOMERGE-SOURCE: CL 11469200 via CL 11469208 via CL 11469209
#ROBOMERGE-BOT: (v654-11333218)

[CL 11469210 by maxwell hayes in Main branch]
2020-02-17 19:08:20 -05:00
jimmy smith c7428bc284 Fix for Audio hang on exit
#rb ethan.geller aaron.mcleran
[FYI] ben.woodhouse


#ROBOMERGE-OWNER: jimmy.smith
#ROBOMERGE-AUTHOR: jimmy.smith
#ROBOMERGE-SOURCE: CL 11381312 via CL 11389180 via CL 11389462 via CL 11389731
#ROBOMERGE-BOT: (v654-11333218)

[CL 11395840 by jimmy smith in Main branch]
2020-02-12 15:09:46 -05:00
Rolando Caloca 5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
phil popp baefdea9aa Integrate FFTAlgorithm and ConvolutionAlgorithm work from //UE4/Private-Reverb/...
#rb Ethan.Geller, Maxwell.Hayes


#ROBOMERGE-SOURCE: CL 11285078 via CL 11285087
#ROBOMERGE-BOT: (v647-11244347)

[CL 11285092 by phil popp in Main branch]
2020-02-06 14:31:11 -05:00
Chris Gagnon 76c6bcbfeb UE4 Main merged to Dev-Tools-Staging at CL 11164391
#rb none

[CL 11171981 by Chris Gagnon in Dev-Tools-Staging branch]
2020-01-29 20:39:37 -05:00
Max Chen b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
bob tellez b877cf06a0 #UE4 Fix deadlock at startup due to locked critical section that was never unlocked
[FYI] maxwell.hayes


#ROBOMERGE-SOURCE: CL 11103498 via CL 11103591
#ROBOMERGE-BOT: (v640-11091645)

[CL 11103617 by bob tellez in Main branch]
2020-01-24 03:20:12 -05:00
rob gay 62c8d64307 - Fix for issue when audio engine goes silent when swaping from null device
- Fix null ref on shutdown
#rb aaron.mcleran


#ROBOMERGE-SOURCE: CL 10945649 via CL 10945651
#ROBOMERGE-BOT: (v632-10940481)

[CL 10945653 by rob gay in Main branch]
2020-01-10 16:33:51 -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
maxwell hayes 0cae469ea9 Fixing up double initialization of Next Read/Write Buffer indices for null device audio rendering (was causing automated tests to hit assert)
#jira UE-84684
#rb rob.gay
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10363662 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10363663 by maxwell hayes in Main branch]
2019-11-21 18:38:37 -05:00
maxwell hayes 123a044cbb Fixing assertion in automated tests (caused by double call to BeginGeneratingAudio)
#jira UE-84684
#rb ethan.geller
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10332533 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v593-10286020)

[CL 10332534 by maxwell hayes in Main branch]
2019-11-20 21:48:42 -05:00
maxwell hayes eb913e1bac Fix for assert being hit in automated test. (resetting read/write indices)
#rb Aaron.McLeran
#jira UE-84684
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10316602 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v593-10286020)

[CL 10316605 by maxwell hayes in Main branch]
2019-11-19 19:38:07 -05:00
maxwell hayes bbba02fd76 Fix for race condition between audio render thread and device callback on startup causing a crash.
#lockdown cristina.riveron
#jira UE-84537
#rb Aaron.McLeran

#ROBOMERGE-SOURCE: CL 10293273 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v593-10286020)

[CL 10293274 by maxwell hayes in Main branch]
2019-11-18 19:09:33 -05:00
brandon schaefer 56a2ade3c7 Move the default implementation of GetIndexForDevice to the base class
#jira UE-82032
#rb Ethan.Geller
[at]Ethan.Geller

#ROBOMERGE-SOURCE: CL 10174662 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v587-10111126)

[CL 10192019 by brandon schaefer in Main branch]
2019-11-14 07:00:39 -05:00
maxwell hayes a981210f39 Preventing overflow in audio output by clamping before converting from float to PCM.
Also adding an volume scalar cvar that is applied on float->int16 conversion.

#rb Phill.Popp


#ROBOMERGE-OWNER: maxwell.hayes
#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 10061629 via CL 10061633 via CL 10062404 via CL 10062463
#ROBOMERGE-BOT: (v566-10053404)

[CL 10063000 by maxwell hayes in Main branch]
2019-11-06 18:28:39 -05:00
maxwell hayes 70d22be2bb Edigrate of audio underflow timeout option (defaulting to 5ms)
#jira FORT-217390
#jira FORT-216731
#jira FORT-219585
#rb Ethan.Geller

#ROBOMERGE-SOURCE: CL 9961114 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9961116 by maxwell hayes in Main branch]
2019-11-01 16:08:29 -04:00
marc audy da6290a952 Fix non-unity errors
#jira UE-82466
#rnx
[CODEREVIEW] Maxwell.Hayes


#ROBOMERGE-SOURCE: CL 9838852 via CL 9838857
#ROBOMERGE-BOT: (v546-9757112)

[CL 9838858 by marc audy in Main branch]
2019-10-25 09:45:50 -04:00
maxwell hayes e6d9095c21 Adding optional config to wait for audio to be rendered before falling back to submitting an underrun (all zeros) buffer.
#rb Ethan.Geller


#ROBOMERGE-SOURCE: CL 9826313 via CL 9826317 via CL 9826322
#ROBOMERGE-BOT: (v546-9757112)

[CL 9826325 by maxwell hayes in Main branch]
2019-10-24 19:38:26 -04:00
brandon schaefer b1f52a3715 When not using threading avoid checking the audio thread has stopped, and set the state to stopped. As that thread is not running
#jira UE-80312
[at]Aaron.McLeran
#rb Aaron.McLeran
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 9421970 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v480-9420520)

[CL 9422095 by brandon schaefer in Main branch]
2019-10-04 15:52:03 -04:00
brandon schaefer 6348777bcb Make sure AudioFadeEvent is valid before using it
When stopping StopAudioStream is called it sets AudioFadeEvent to nullptr and if you exit after that the teardown will hit this nullptr

#jira UE-80566
#rb none
[FYI] Arciel.Rekman, Aaron.McLeran
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 9322527 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v455-9298202)

[CL 9322539 by brandon schaefer in Main branch]
2019-10-01 17:45:43 -04:00