Files

683 lines
20 KiB
C++
Raw Permalink Normal View History

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*------------------------------------------------------------------------------------
FSLESSoundSource.
------------------------------------------------------------------------------------*/
#include "AndroidAudioDevice.h"
#include "AudioDecompress.h"
#include "ContentStreaming.h"
// Keep track of OpenSLES track counts, if they exceed 12, then log the error but prevent new sounds
static int32 GTrackCount = 0;
// Track when the last realize error ocurred, if they
static double GLastRealizeErrorTimeSec = 0.0;
// How much time is needed to pass since last error before a new sound is allowed to play
int32 GCVarAndroidRealizeErrorWaitThresholdMs = 35;
TAutoConsoleVariable<int32> CVarAndroidRealizeErrorWaitThresholdMs(TEXT("au.AndroidRealizeErrorWaitThresholdMs"), GCVarAndroidRealizeErrorWaitThresholdMs, TEXT("Sets number of ms to wait before allowing new player request after realize buffer error (default: 35)"), ECVF_Default);
// Callback that is registered if the source needs to loop
void OpenSLBufferQueueCallback( SLAndroidSimpleBufferQueueItf InQueueInterface, void* pContext )
{
FSLESSoundSource* SoundSource = (FSLESSoundSource*)pContext;
if( SoundSource )
{
SoundSource->OnRequeueBufferCallback( InQueueInterface );
}
}
// Requeues buffer to loop Sound Source
void FSLESSoundSource::OnRequeueBufferCallback( SLAndroidSimpleBufferQueueItf InQueueInterface )
{
if (!bStreamedSound)
{
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLresult result = (*SL_PlayerBufferQueue)->Enqueue(SL_PlayerBufferQueue, SLESBuffer->AudioData, SLESBuffer->GetSize() );
if(result != SL_RESULT_SUCCESS)
{
UE_LOG( LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER Enqueue SL_PlayerBufferQueue (Requeing)"));
}
bHasLooped = true;
}
else
{
// Enqueue the previously decoded buffer
if (RealtimeAsyncTask)
{
RealtimeAsyncTask->EnsureCompletion();
switch(RealtimeAsyncTask->GetTask().GetTaskType())
{
case ERealtimeAudioTaskType::Decompress:
bHasLooped = RealtimeAsyncTask->GetTask().GetBufferLooped();
break;
case ERealtimeAudioTaskType::Procedural:
AudioBuffers[BufferInUse].AudioDataSize = RealtimeAsyncTask->GetTask().GetBytesWritten();
break;
}
delete RealtimeAsyncTask;
RealtimeAsyncTask = nullptr;
}
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2909747) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2898120 on 2016/03/07 by Chris.Babcock Disable NvTimerQuery on Nexus 9 before Android 6.0 to fix slow frame updates #jira UE-28013 #ue4 #android Change 2898539 on 2016/03/08 by Matthew.Griffin Merging //UE4/Dev-Build to //UE4/Release-4.11 Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2898788 on 2016/03/08 by Keith.Judge Latest DX12.x integration from Microsoft. Brings XB1 up to PC level of functionality and improved perf. #jira UEPLAT-325 Change 2898836 on 2016/03/08 by Taizyd.Korambayil #jira UE-27990 Reimported River_Basin_02 Mesh with Adjacency Buffer Change 2898897 on 2016/03/08 by Sean.Gribbin #Jira UE-26550 Adding name to credits of Match 3 Change 2898938 on 2016/03/08 by Taizyd.Korambayil #jira UE-26284 Fixed Up Some Materials and BP errors Change 2898967 on 2016/03/08 by Benjamin.Hyder Updating Qa_Materials map #jira UE-24473 Change 2899032 on 2016/03/08 by Zachary.Wilson Fixing broken assets in QA-LightsStationary and eliminating log errors. Fixing mispelling and player start height in QA-LightsStationary. #jira UE-24473 Change 2899244 on 2016/03/08 by Peter.Sauerbrei addition of launch images for iPad Pro #jira UE-24793 Change 2899335 on 2016/03/08 by Richard.Hinckley #jira UE-27356 Fixing code for VR headsets so that the camera starts inside the vehicle if the user has an active HMD. Found that the C++ templates never had HMD support, so mirroring the BP templates for that functionality. Works in my testing, but a proper QA pass should be performed. Change 2899402 on 2016/03/08 by Michael.Schoell Macro instance nodes now have a hard dependency to any object class or structs their pins reference. Expanded UK2Node_MacroInstance::HasExternalDependencies to iterate over all pins and add their struct or object's class. #jira UE-27795 - Split Pins on a referenced Macro Library will crash the editor on restart Change 2899424 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool on Linux (UE-28056). #jira UE-28056 Change 2899445 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool invocation in debug scripts. #jira UE-28056 Change 2899488 on 2016/03/08 by Ryan.Vance #jira UE-28000 We can't test how many views are in the view family when initializing a view. There's no guaruntee that the family is setup yet. We'll need to move this test to the calling code. Change 2899546 on 2016/03/08 by Zachary.Wilson Updating QA-PostProcessing to match the 4.12 Main version of the map. #jira UE-24473 Change 2899553 on 2016/03/08 by Michael.Schoell Reinstancer will no longer queue BPs to be saved when compiling skeleton class dependencies and will no longer process all queued BPs to save when it is complete. #jira UE-27509 - Save on compile set to always causes a crash on compile #jira UE-27856 - "Always" Save on Compile does not save the Blueprint Change 2899558 on 2016/03/08 by Benjamin.Hyder building Lighting for QA-Materials #jira UE-24473 Change 2899597 on 2016/03/08 by Chris.Babcock Change reporting level of audio buffer decompression type logging #jira UE-28058 #ue4 #android Change 2899704 on 2016/03/08 by Benjamin.Hyder Updating Qa-Materials map #Jira UE-24473 Change 2899736 on 2016/03/08 by Benjamin.Hyder Updating TM-LPV map #Jira UE-24473 Change 2899810 on 2016/03/08 by Lauren.Ridge #jira UE-27995 UE-27987 Final UM3 UI Tweaks, + bug fix Change 2899876 on 2016/03/08 by Peter.Sauerbrei [CL 2913181 by Matthew Griffin in Main branch]
2016-03-17 11:10:14 -04:00
// Sound decoding is complete, just waiting to finish playing
if (bBuffersToFlush)
{
// set the player's state to stopped
SLresult result = (*SL_PlayerPlayInterface)->SetPlayState(SL_PlayerPlayInterface, SL_PLAYSTATE_STOPPED);
check(SL_RESULT_SUCCESS == result);
return;
}
SLresult result = (*SL_PlayerBufferQueue)->Enqueue(SL_PlayerBufferQueue, AudioBuffers[BufferInUse].AudioData, AudioBuffers[BufferInUse].AudioDataSize );
if(result != SL_RESULT_SUCCESS)
{
UE_LOG( LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER Enqueue SL_PlayerBufferQueue (Requeing)"));
}
// Switch to the next buffer and decode for the next time the callback fires if we didn't just get the last buffer
BufferInUse = !BufferInUse;
if (bHasLooped == false || WaveInstance->LoopingMode != LOOP_Never)
{
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2909747) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2898120 on 2016/03/07 by Chris.Babcock Disable NvTimerQuery on Nexus 9 before Android 6.0 to fix slow frame updates #jira UE-28013 #ue4 #android Change 2898539 on 2016/03/08 by Matthew.Griffin Merging //UE4/Dev-Build to //UE4/Release-4.11 Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2898788 on 2016/03/08 by Keith.Judge Latest DX12.x integration from Microsoft. Brings XB1 up to PC level of functionality and improved perf. #jira UEPLAT-325 Change 2898836 on 2016/03/08 by Taizyd.Korambayil #jira UE-27990 Reimported River_Basin_02 Mesh with Adjacency Buffer Change 2898897 on 2016/03/08 by Sean.Gribbin #Jira UE-26550 Adding name to credits of Match 3 Change 2898938 on 2016/03/08 by Taizyd.Korambayil #jira UE-26284 Fixed Up Some Materials and BP errors Change 2898967 on 2016/03/08 by Benjamin.Hyder Updating Qa_Materials map #jira UE-24473 Change 2899032 on 2016/03/08 by Zachary.Wilson Fixing broken assets in QA-LightsStationary and eliminating log errors. Fixing mispelling and player start height in QA-LightsStationary. #jira UE-24473 Change 2899244 on 2016/03/08 by Peter.Sauerbrei addition of launch images for iPad Pro #jira UE-24793 Change 2899335 on 2016/03/08 by Richard.Hinckley #jira UE-27356 Fixing code for VR headsets so that the camera starts inside the vehicle if the user has an active HMD. Found that the C++ templates never had HMD support, so mirroring the BP templates for that functionality. Works in my testing, but a proper QA pass should be performed. Change 2899402 on 2016/03/08 by Michael.Schoell Macro instance nodes now have a hard dependency to any object class or structs their pins reference. Expanded UK2Node_MacroInstance::HasExternalDependencies to iterate over all pins and add their struct or object's class. #jira UE-27795 - Split Pins on a referenced Macro Library will crash the editor on restart Change 2899424 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool on Linux (UE-28056). #jira UE-28056 Change 2899445 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool invocation in debug scripts. #jira UE-28056 Change 2899488 on 2016/03/08 by Ryan.Vance #jira UE-28000 We can't test how many views are in the view family when initializing a view. There's no guaruntee that the family is setup yet. We'll need to move this test to the calling code. Change 2899546 on 2016/03/08 by Zachary.Wilson Updating QA-PostProcessing to match the 4.12 Main version of the map. #jira UE-24473 Change 2899553 on 2016/03/08 by Michael.Schoell Reinstancer will no longer queue BPs to be saved when compiling skeleton class dependencies and will no longer process all queued BPs to save when it is complete. #jira UE-27509 - Save on compile set to always causes a crash on compile #jira UE-27856 - "Always" Save on Compile does not save the Blueprint Change 2899558 on 2016/03/08 by Benjamin.Hyder building Lighting for QA-Materials #jira UE-24473 Change 2899597 on 2016/03/08 by Chris.Babcock Change reporting level of audio buffer decompression type logging #jira UE-28058 #ue4 #android Change 2899704 on 2016/03/08 by Benjamin.Hyder Updating Qa-Materials map #Jira UE-24473 Change 2899736 on 2016/03/08 by Benjamin.Hyder Updating TM-LPV map #Jira UE-24473 Change 2899810 on 2016/03/08 by Lauren.Ridge #jira UE-27995 UE-27987 Final UM3 UI Tweaks, + bug fix Change 2899876 on 2016/03/08 by Peter.Sauerbrei [CL 2913181 by Matthew Griffin in Main branch]
2016-03-17 11:10:14 -04:00
// Do this in the callback thread instead of creating an asynchronous task (thread id from callback is not consistent and use of TLS for stats causes issues)
if (ReadMorePCMData(BufferInUse, EDataReadMode::Synchronous))
{
// If this is a synchronous source we may get notified immediately that we have looped
bHasLooped = true;
}
}
}
}
bool FSLESSoundSource::CreatePlayer()
{
if (GTrackCount >= 12)
{
UE_LOG(LogAndroidAudio, Warning, TEXT("Too many audio tracks to create new player! (%d)"), GTrackCount);
return false;
}
const double CurrentTimeSec = FPlatformTime::Seconds();
const double LastTimeSinceErrorMs = (CurrentTimeSec - GLastRealizeErrorTimeSec) * 1000.0;
if (LastTimeSinceErrorMs < (double)GCVarAndroidRealizeErrorWaitThresholdMs)
{
UE_LOG(LogAndroidAudio, Warning, TEXT("Last time since Realize Error: %f ms"), LastTimeSinceErrorMs);
return false;
}
// data info
SLDataLocator_AndroidSimpleBufferQueue LocationBuffer = { SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, 1 };
// PCM Info
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLDataFormat_PCM PCM_Format = { SL_DATAFORMAT_PCM, SLuint32(SLESBuffer->NumChannels), SLuint32( SLESBuffer->SampleRate * 1000 ),
SL_PCMSAMPLEFORMAT_FIXED_16, SL_PCMSAMPLEFORMAT_FIXED_16,
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLESBuffer->NumChannels == 2 ? ( SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT ) : SL_SPEAKER_FRONT_CENTER,
SL_BYTEORDER_LITTLEENDIAN };
SLDataSource SoundDataSource = { &LocationBuffer, &PCM_Format};
// configure audio sink
SLDataLocator_OutputMix Output_Mix = { SL_DATALOCATOR_OUTPUTMIX, ((FSLESAudioDevice *)AudioDevice)->SL_OutputMixObject};
SLDataSink AudioSink = { &Output_Mix, NULL};
// create audio player
const SLInterfaceID ids[] = {SL_IID_BUFFERQUEUE, SL_IID_VOLUME};
const SLboolean req[] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE};
SLresult result;
{
SCOPE_CYCLE_COUNTER(STAT_AudioAndroidSourcePlayerCreateTime);
result = (*Device->SL_EngineEngine)->CreateAudioPlayer(Device->SL_EngineEngine, &SL_PlayerObject, &SoundDataSource, &AudioSink, sizeof(ids) / sizeof(SLInterfaceID), ids, req);
if (result != SL_RESULT_SUCCESS)
{
UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER CreateAudioPlayer 0x%x"), result);
return false;
}
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
bool bFailedSetup = false;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
// realize the player
{
SCOPE_CYCLE_COUNTER(STAT_AudioAndroidSourcePlayerRealize);
result = (*SL_PlayerObject)->Realize(SL_PlayerObject, SL_BOOLEAN_FALSE);
++GTrackCount;
if (result != SL_RESULT_SUCCESS)
{
GLastRealizeErrorTimeSec = FPlatformTime::Seconds();
UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER Realize 0x%x. NumChannels: %d, SampleRate: %d, TrackCount: %d"), result, SLESBuffer->NumChannels, SLESBuffer->SampleRate, GTrackCount);
return false;
}
}
// get the play interface
result = (*SL_PlayerObject)->GetInterface(SL_PlayerObject, SL_IID_PLAY, &SL_PlayerPlayInterface);
if (result != SL_RESULT_SUCCESS) { UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER GetInterface SL_IID_PLAY 0x%x"), result); bFailedSetup |= true; }
// volume
result = (*SL_PlayerObject)->GetInterface(SL_PlayerObject, SL_IID_VOLUME, &SL_VolumeInterface);
if (result != SL_RESULT_SUCCESS) { UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER GetInterface SL_IID_VOLUME 0x%x"), result); bFailedSetup |= true; }
// buffer system
result = (*SL_PlayerObject)->GetInterface(SL_PlayerObject, SL_IID_BUFFERQUEUE, &SL_PlayerBufferQueue);
if (result != SL_RESULT_SUCCESS) { UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER GetInterface SL_IID_BUFFERQUEUE 0x%x"), result); bFailedSetup |= true; }
return bFailedSetup == false;
}
void FSLESSoundSource::DestroyPlayer()
{
if( SL_PlayerObject )
{
// close it down...
(*SL_PlayerObject)->Destroy(SL_PlayerObject);
SL_PlayerObject = NULL;
SL_PlayerPlayInterface = NULL;
SL_PlayerBufferQueue = NULL;
SL_VolumeInterface = NULL;
--GTrackCount;
}
}
bool FSLESSoundSource::EnqueuePCMBuffer( bool bLoop)
{
SLresult result;
// If looping, register a callback to requeue the buffer
if( bLoop )
{
result = (*SL_PlayerBufferQueue)->RegisterCallback(SL_PlayerBufferQueue, OpenSLBufferQueueCallback, (void*)this);
if (result != SL_RESULT_SUCCESS) { UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER QUEUE RegisterCallback 0x%x "), result); return false; }
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
result = (*SL_PlayerBufferQueue)->Enqueue(SL_PlayerBufferQueue, SLESBuffer->AudioData, SLESBuffer->GetSize() );
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2909747) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2898120 on 2016/03/07 by Chris.Babcock Disable NvTimerQuery on Nexus 9 before Android 6.0 to fix slow frame updates #jira UE-28013 #ue4 #android Change 2898539 on 2016/03/08 by Matthew.Griffin Merging //UE4/Dev-Build to //UE4/Release-4.11 Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2898788 on 2016/03/08 by Keith.Judge Latest DX12.x integration from Microsoft. Brings XB1 up to PC level of functionality and improved perf. #jira UEPLAT-325 Change 2898836 on 2016/03/08 by Taizyd.Korambayil #jira UE-27990 Reimported River_Basin_02 Mesh with Adjacency Buffer Change 2898897 on 2016/03/08 by Sean.Gribbin #Jira UE-26550 Adding name to credits of Match 3 Change 2898938 on 2016/03/08 by Taizyd.Korambayil #jira UE-26284 Fixed Up Some Materials and BP errors Change 2898967 on 2016/03/08 by Benjamin.Hyder Updating Qa_Materials map #jira UE-24473 Change 2899032 on 2016/03/08 by Zachary.Wilson Fixing broken assets in QA-LightsStationary and eliminating log errors. Fixing mispelling and player start height in QA-LightsStationary. #jira UE-24473 Change 2899244 on 2016/03/08 by Peter.Sauerbrei addition of launch images for iPad Pro #jira UE-24793 Change 2899335 on 2016/03/08 by Richard.Hinckley #jira UE-27356 Fixing code for VR headsets so that the camera starts inside the vehicle if the user has an active HMD. Found that the C++ templates never had HMD support, so mirroring the BP templates for that functionality. Works in my testing, but a proper QA pass should be performed. Change 2899402 on 2016/03/08 by Michael.Schoell Macro instance nodes now have a hard dependency to any object class or structs their pins reference. Expanded UK2Node_MacroInstance::HasExternalDependencies to iterate over all pins and add their struct or object's class. #jira UE-27795 - Split Pins on a referenced Macro Library will crash the editor on restart Change 2899424 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool on Linux (UE-28056). #jira UE-28056 Change 2899445 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool invocation in debug scripts. #jira UE-28056 Change 2899488 on 2016/03/08 by Ryan.Vance #jira UE-28000 We can't test how many views are in the view family when initializing a view. There's no guaruntee that the family is setup yet. We'll need to move this test to the calling code. Change 2899546 on 2016/03/08 by Zachary.Wilson Updating QA-PostProcessing to match the 4.12 Main version of the map. #jira UE-24473 Change 2899553 on 2016/03/08 by Michael.Schoell Reinstancer will no longer queue BPs to be saved when compiling skeleton class dependencies and will no longer process all queued BPs to save when it is complete. #jira UE-27509 - Save on compile set to always causes a crash on compile #jira UE-27856 - "Always" Save on Compile does not save the Blueprint Change 2899558 on 2016/03/08 by Benjamin.Hyder building Lighting for QA-Materials #jira UE-24473 Change 2899597 on 2016/03/08 by Chris.Babcock Change reporting level of audio buffer decompression type logging #jira UE-28058 #ue4 #android Change 2899704 on 2016/03/08 by Benjamin.Hyder Updating Qa-Materials map #Jira UE-24473 Change 2899736 on 2016/03/08 by Benjamin.Hyder Updating TM-LPV map #Jira UE-24473 Change 2899810 on 2016/03/08 by Lauren.Ridge #jira UE-27995 UE-27987 Final UM3 UI Tweaks, + bug fix Change 2899876 on 2016/03/08 by Peter.Sauerbrei [CL 2913181 by Matthew Griffin in Main branch]
2016-03-17 11:10:14 -04:00
if (result != SL_RESULT_SUCCESS) {
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER Enqueue SL_PlayerBufferQueue 0x%x params( %p, %d)"), result, SLESBuffer->AudioData, int32(SLESBuffer->GetSize()));
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2909747) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2898120 on 2016/03/07 by Chris.Babcock Disable NvTimerQuery on Nexus 9 before Android 6.0 to fix slow frame updates #jira UE-28013 #ue4 #android Change 2898539 on 2016/03/08 by Matthew.Griffin Merging //UE4/Dev-Build to //UE4/Release-4.11 Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2898788 on 2016/03/08 by Keith.Judge Latest DX12.x integration from Microsoft. Brings XB1 up to PC level of functionality and improved perf. #jira UEPLAT-325 Change 2898836 on 2016/03/08 by Taizyd.Korambayil #jira UE-27990 Reimported River_Basin_02 Mesh with Adjacency Buffer Change 2898897 on 2016/03/08 by Sean.Gribbin #Jira UE-26550 Adding name to credits of Match 3 Change 2898938 on 2016/03/08 by Taizyd.Korambayil #jira UE-26284 Fixed Up Some Materials and BP errors Change 2898967 on 2016/03/08 by Benjamin.Hyder Updating Qa_Materials map #jira UE-24473 Change 2899032 on 2016/03/08 by Zachary.Wilson Fixing broken assets in QA-LightsStationary and eliminating log errors. Fixing mispelling and player start height in QA-LightsStationary. #jira UE-24473 Change 2899244 on 2016/03/08 by Peter.Sauerbrei addition of launch images for iPad Pro #jira UE-24793 Change 2899335 on 2016/03/08 by Richard.Hinckley #jira UE-27356 Fixing code for VR headsets so that the camera starts inside the vehicle if the user has an active HMD. Found that the C++ templates never had HMD support, so mirroring the BP templates for that functionality. Works in my testing, but a proper QA pass should be performed. Change 2899402 on 2016/03/08 by Michael.Schoell Macro instance nodes now have a hard dependency to any object class or structs their pins reference. Expanded UK2Node_MacroInstance::HasExternalDependencies to iterate over all pins and add their struct or object's class. #jira UE-27795 - Split Pins on a referenced Macro Library will crash the editor on restart Change 2899424 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool on Linux (UE-28056). #jira UE-28056 Change 2899445 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool invocation in debug scripts. #jira UE-28056 Change 2899488 on 2016/03/08 by Ryan.Vance #jira UE-28000 We can't test how many views are in the view family when initializing a view. There's no guaruntee that the family is setup yet. We'll need to move this test to the calling code. Change 2899546 on 2016/03/08 by Zachary.Wilson Updating QA-PostProcessing to match the 4.12 Main version of the map. #jira UE-24473 Change 2899553 on 2016/03/08 by Michael.Schoell Reinstancer will no longer queue BPs to be saved when compiling skeleton class dependencies and will no longer process all queued BPs to save when it is complete. #jira UE-27509 - Save on compile set to always causes a crash on compile #jira UE-27856 - "Always" Save on Compile does not save the Blueprint Change 2899558 on 2016/03/08 by Benjamin.Hyder building Lighting for QA-Materials #jira UE-24473 Change 2899597 on 2016/03/08 by Chris.Babcock Change reporting level of audio buffer decompression type logging #jira UE-28058 #ue4 #android Change 2899704 on 2016/03/08 by Benjamin.Hyder Updating Qa-Materials map #Jira UE-24473 Change 2899736 on 2016/03/08 by Benjamin.Hyder Updating TM-LPV map #Jira UE-24473 Change 2899810 on 2016/03/08 by Lauren.Ridge #jira UE-27995 UE-27987 Final UM3 UI Tweaks, + bug fix Change 2899876 on 2016/03/08 by Peter.Sauerbrei [CL 2913181 by Matthew Griffin in Main branch]
2016-03-17 11:10:14 -04:00
if (bLoop)
{
result = (*SL_PlayerBufferQueue)->RegisterCallback(SL_PlayerBufferQueue, NULL, NULL);
}
return false;
}
bStreamedSound = false;
bHasLooped = false;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3155909) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3118534 on 2016/09/08 by Steve.Cano Certain non-looping SFX would not properly fire "Stop" events when the effect was finished, and therefore Sound Mixes that should end at the end of a SFX (such as ducking the BGM volume) were not properly finishing. Fixing the IsSourceFinished call to check the Position of the player to determine if we are actually done playing, which was not working properly before for PCM sounds. #jira UE-35016 #ue4 #android Change 3119125 on 2016/09/09 by Dmitriy.Dyomin Mobile launcher profile wizard: Fixed case where DLC will not be built if user selects non Development build configuration Fixed case where project maps will be empty if UE4 and project located on different drives Change 3122584 on 2016/09/13 by Allan.Bentham Add simple clip plane for planar reflections. #jira UE-32449 Change 3129390 on 2016/09/16 by Chris.Babcock Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3129867 on 2016/09/18 by Jack.Porter Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3131961 on 2016/09/20 by Allan.Bentham Fix missing editor widgets and gamma incorrectness when mobileHDR == false. Fix editor widget rendering when hdr encoding is active. #jira UE-34281 Change 3132717 on 2016/09/20 by Chris.Babcock Add $S(ProjectDir) to UPL #jira UE-35483 #ue4 Change 3132940 on 2016/09/20 by Chris.Babcock Corrected case for some include files (contributed by Yukariin) #jira UE-33816 #PR #2636 #ue4 #android Change 3134098 on 2016/09/21 by Allan.Bentham Mobile CSM shadow quality controllable via quality levels. #jira UEMOB-74 Change 3134931 on 2016/09/21 by Chris.Babcock Allow Windows types in vulkan.h #jira UE-36270 #ue4 #vulkan Change 3135380 on 2016/09/21 by Dmitriy.Dyomin Plugin which exposes some of BuildPatchServices functionality to BP. Inteded to be used on mobile platforms for donwloading game content. Right now misses: IOS download directory and iOS WiFi detection #jira UEMOB-157 Change 3136004 on 2016/09/22 by Allan.Bentham Add project option to disable vertex fog on mobile. Vertex fog is now enabled even when mobile HDR is not. #jira UEMOB-148 Change 3137377 on 2016/09/22 by Dmitriy.Dyomin Fix compile error from CL# 3135380 Change 3139571 on 2016/09/26 by Jack.Porter Applied deferred change CL 3101462 to mobile to make planar reflections no longer update GPU particles Change 3139663 on 2016/09/26 by Jack.Porter Include Android shader cache files when packaging Change 3142839 on 2016/09/28 by Dmitriy.Dyomin Added WiFi connection detection on iOS Change 3142845 on 2016/09/28 by Jack.Porter Fixed various issues with TcpMessageTransport discovered when transferring automation testing screenshots from mobile devices - socket not readable or writable is not an error condition if output buffer is full - messages were previously limited to 64kb but screenshots overflowed this - messages over 8kb were not reliably received as the inbound buffer was full so the available bytes was always less than the message length - sending large messages was not reliable due to the output buffer being full Change 3143280 on 2016/09/28 by Jack.Porter Clear out UnbuiltInstanceBoundsList when async building a tree with no instances Change 3143282 on 2016/09/28 by Jack.Porter Fix issue where client functional tests in the current map do not appear on clients running with cooked content. Problem is that the AssetRegistry uses in-memory metadata created on load for currently-loaded assets, but cooked content only has the serialized AssetRegistry and individual assets do not contain any metadata. Change 3143808 on 2016/09/28 by Steve.Cano Assume that the app starts in focus at startup and don't wait for an "APP_EVENT_STATE_WINDOW_GAINED_FOCUS" event to fire, as this event will not come down from SplashActivity since it is not a NativeActivity. If the user then rotates the device in Sensor or FullSensor orientation during SplashActivity and forces an eglSurface recreation, the initial Create will properly execute if we're "in focus". Previously, the create-destroy-create cycle would not properly execute due to the EventManager thinking the app was not yet in focus, and would cause the second create to get a 0x3003 error (EGL_BAD_ALLOC) #jira UE-35004 #ue4 #android Change 3144880 on 2016/09/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3146220 on 2016/09/30 by Dmitriy.Dyomin Adjusted device button style to make it more readable. #jira UE-21881 Change 3146280 on 2016/09/30 by Dmitriy.Dyomin Replaced IBuildManifest::ComputeDownloadSize with a new function Change 3146302 on 2016/09/30 by Allan.Bentham Added more stringent checks for ES3.1 compatibility #jira UE-36241 Change 3146435 on 2016/09/30 by Jack.Porter Prevent landscape grass being duplicated for PIE, causing ensure #jira UE-36531 Change 3147532 on 2016/09/30 by Chris.Babcock Use .sh extension for Android install scripts on Linux #jira UE-36669 #ue4 #android #linux Change 3149851 on 2016/10/04 by Dmitriy.Dyomin Mobile: Added custom depth rendering Mobile: Added support for CustomDepth and SceneDepth in post-process materails Change 3149852 on 2016/10/04 by Dmitriy.Dyomin Fixed comments for SortBasePass console variable Change 3149857 on 2016/10/04 by Jack.Porter Remove dead code in ProceduralFoliageComponentDetails.cpp Change 3149863 on 2016/10/04 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3149896 on 2016/10/04 by Dmitriy.Dyomin Fixed: SkyLight makes level entire green on Android devices #jira UE-34469 Change 3150102 on 2016/10/04 by Jack.Porter Bring Protostar 4.13 fixes back to Dev-Mobile Engine - MaxDescriptorSets = 16384 to prevent crash on Mali - Include texture formats in FRenderTargetLayoutHashableStruct to solve RT aliasing issue - Use ERenderTargetLoadAction::EClear for planar reflection target to work around Adreno issue - Default Adreno to SPIR-V Contents - Disable fog, reduce CSM shadow quality, fix device profiles - Add PSO cache Change 3150113 on 2016/10/04 by Jack.Porter Ensure automation testing screenshots have Alpha=255 (fixes automation screenshots on Mobile) Change 3150231 on 2016/10/04 by Jack.Porter Use a new SessionID GUID each time you use the launcher to launch a session. Change 3150608 on 2016/10/04 by Jack.Porter Changes for automated testing screenshots on Android. - Prevent automation screenshots from changing resolution on platforms with fixed resolution - Set GRHIAdapterInternalDriverVersion for OpenGL and Vulkan - Parse ImgTec/ARM/Qualcomm GRHIVendorId on OpenGL - Added helper to convert GRHIVendorId to string Change 3151318 on 2016/10/04 by Jack.Porter Fixed compile error with AdapterVendor Change 3151366 on 2016/10/04 by Jack.Porter Prevent FTcpMessageTransportConnection deadlock on device disconnect Change 3151397 on 2016/10/05 by Dmitriy.Dyomin More consistent BP categories for Mobile Patching utils Change 3151576 on 2016/10/05 by Dmitriy.Dyomin Added on screen warning for invalid reflection captures, can be seen only in game running with FeatureLevel < SM4 and no valid capture data Change 3151795 on 2016/10/05 by Dmitry.Rekman Linux: update UBT to use a v8 multiarch toolchain. - Also added toolchain build scripts and ct-ng configs. Change 3151966 on 2016/10/05 by Allan.Bentham Add mobile support for inverse opacity to mobile scene captures as well as SCS_SceneColorSceneDepth and SCS_SceneDepth. #jira UEMOB-106 Change 3152664 on 2016/10/05 by Chris.Babcock Merging //UE4/Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3152675 on 2016/10/05 by Will.Fissler Fixed patching so that it searches for pak files as well as pkg files. #test Patch for QAGame Change 3152728 on 2016/10/05 by Chris.Babcock Update ReflectionCaptureDDCVer (need to resave maps) Change 3152910 on 2016/10/05 by Dmitry.Rekman Linux: Fix toolchain for non-AutoSDKs (github) case (UE-36899). Change 3152966 on 2016/10/05 by Dmitry.Rekman Linux: Fix test for the installed SDK (UE-36899). Change 3153004 on 2016/10/05 by Dmitry.Rekman Linux: fix CIS (UT server case-sens errors). Change 3153694 on 2016/10/06 by Jack.Porter Rollback ReflectionCaptureDDCVer change as bug intended to fix UE-36919 does not repro Change 3154766 on 2016/10/07 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3154833 on 2016/10/07 by Jack.Porter Fix merge error of MobileShadingRenderer.cpp Change 3154848 on 2016/10/07 by Allan.Bentham Fix mobile scene capture's clear code Change 3154875 on 2016/10/07 by Allan.Bentham fix vk build issues Change 3154941 on 2016/10/07 by Allan.Bentham Fix gearvr build fail Change 3154950 on 2016/10/07 by Allan.Bentham Fix shadowed local variable vk build warning on android. Change 3155909 on 2016/10/07 by Ben.Marsh UBT: Attempt to work around C1076 error ("internal heap limit reached: use /Zm to specify a higher limit"), encountered when building with XGE. Specify the AutoReserveMemory attribute on XGE tool tasks that manipulate precompiled headers. [CL 3155988 by Chris Babcock in Main branch]
2016-10-07 23:11:00 -04:00
bHasPositionUpdated = false;
bBuffersToFlush = false;
return true;
}
bool FSLESSoundSource::ReadMorePCMData(const int32 BufferIndex, EDataReadMode DataReadMode)
{
USoundWave* WaveData = WaveInstance->WaveData;
if (WaveData && WaveData->bProcedural)
{
const int32 MaxSamples = BufferSize / sizeof(int16);
if (DataReadMode == EDataReadMode::Synchronous || WaveData->bCanProcessAsync == false)
{
const int32 BytesWritten = WaveData->GeneratePCMData(AudioBuffers[BufferIndex].AudioData, MaxSamples);
AudioBuffers[BufferIndex].AudioDataSize = BytesWritten;
}
else
{
RealtimeAsyncTask = new FAsyncRealtimeAudioTask(WaveData, AudioBuffers[BufferIndex].AudioData, MaxSamples);
RealtimeAsyncTask->StartBackgroundTask();
}
// we're never actually "looping" here.
return false;
}
else
{
if (DataReadMode == EDataReadMode::Synchronous)
{
return SLESBuffer->ReadCompressedData(AudioBuffers[BufferIndex].AudioData, MONO_PCM_BUFFER_SAMPLES, WaveInstance->LoopingMode != LOOP_Never);
}
else
{
RealtimeAsyncTask = new FAsyncRealtimeAudioTask(SLESBuffer, AudioBuffers[BufferIndex].AudioData, WaveInstance->WaveData->NumPrecacheFrames, WaveInstance->LoopingMode != LOOP_Never, DataReadMode == EDataReadMode::AsynchronousSkipFirstFrame);
RealtimeAsyncTask->StartBackgroundTask();
return false;
}
}
}
bool FSLESSoundSource::EnqueuePCMRTBuffer( bool bLoop )
{
if (AudioBuffers[0].AudioData || AudioBuffers[1].AudioData)
{
UE_LOG( LogAndroidAudio, Warning, TEXT("Enqueue PCMRT with buffers already allocated"));
}
FMemory::Memzero( AudioBuffers, sizeof( SLESAudioBuffer ) * 2 );
// Set up double buffer area to decompress to
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
BufferSize = SLESBuffer->GetRTBufferSize() * SLESBuffer->NumChannels;
AudioBuffers[0].AudioData = (uint8*)FMemory::Malloc(BufferSize);
AudioBuffers[0].AudioDataSize = BufferSize;
AudioBuffers[1].AudioData = (uint8*)FMemory::Malloc(BufferSize);
AudioBuffers[1].AudioDataSize = BufferSize;
// Only use the cached data if we're starting from the beginning, otherwise we'll have to take a synchronous hit
if (WaveInstance->WaveData && WaveInstance->WaveData->CachedRealtimeFirstBuffer && WaveInstance->StartTime == 0.f)
{
FMemory::Memcpy((uint8*)AudioBuffers[0].AudioData, WaveInstance->WaveData->CachedRealtimeFirstBuffer, BufferSize);
Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2909747) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2898120 on 2016/03/07 by Chris.Babcock Disable NvTimerQuery on Nexus 9 before Android 6.0 to fix slow frame updates #jira UE-28013 #ue4 #android Change 2898539 on 2016/03/08 by Matthew.Griffin Merging //UE4/Dev-Build to //UE4/Release-4.11 Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2898788 on 2016/03/08 by Keith.Judge Latest DX12.x integration from Microsoft. Brings XB1 up to PC level of functionality and improved perf. #jira UEPLAT-325 Change 2898836 on 2016/03/08 by Taizyd.Korambayil #jira UE-27990 Reimported River_Basin_02 Mesh with Adjacency Buffer Change 2898897 on 2016/03/08 by Sean.Gribbin #Jira UE-26550 Adding name to credits of Match 3 Change 2898938 on 2016/03/08 by Taizyd.Korambayil #jira UE-26284 Fixed Up Some Materials and BP errors Change 2898967 on 2016/03/08 by Benjamin.Hyder Updating Qa_Materials map #jira UE-24473 Change 2899032 on 2016/03/08 by Zachary.Wilson Fixing broken assets in QA-LightsStationary and eliminating log errors. Fixing mispelling and player start height in QA-LightsStationary. #jira UE-24473 Change 2899244 on 2016/03/08 by Peter.Sauerbrei addition of launch images for iPad Pro #jira UE-24793 Change 2899335 on 2016/03/08 by Richard.Hinckley #jira UE-27356 Fixing code for VR headsets so that the camera starts inside the vehicle if the user has an active HMD. Found that the C++ templates never had HMD support, so mirroring the BP templates for that functionality. Works in my testing, but a proper QA pass should be performed. Change 2899402 on 2016/03/08 by Michael.Schoell Macro instance nodes now have a hard dependency to any object class or structs their pins reference. Expanded UK2Node_MacroInstance::HasExternalDependencies to iterate over all pins and add their struct or object's class. #jira UE-27795 - Split Pins on a referenced Macro Library will crash the editor on restart Change 2899424 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool on Linux (UE-28056). #jira UE-28056 Change 2899445 on 2016/03/08 by Dmitry.Rekman Fix CrossCompilerTool invocation in debug scripts. #jira UE-28056 Change 2899488 on 2016/03/08 by Ryan.Vance #jira UE-28000 We can't test how many views are in the view family when initializing a view. There's no guaruntee that the family is setup yet. We'll need to move this test to the calling code. Change 2899546 on 2016/03/08 by Zachary.Wilson Updating QA-PostProcessing to match the 4.12 Main version of the map. #jira UE-24473 Change 2899553 on 2016/03/08 by Michael.Schoell Reinstancer will no longer queue BPs to be saved when compiling skeleton class dependencies and will no longer process all queued BPs to save when it is complete. #jira UE-27509 - Save on compile set to always causes a crash on compile #jira UE-27856 - "Always" Save on Compile does not save the Blueprint Change 2899558 on 2016/03/08 by Benjamin.Hyder building Lighting for QA-Materials #jira UE-24473 Change 2899597 on 2016/03/08 by Chris.Babcock Change reporting level of audio buffer decompression type logging #jira UE-28058 #ue4 #android Change 2899704 on 2016/03/08 by Benjamin.Hyder Updating Qa-Materials map #Jira UE-24473 Change 2899736 on 2016/03/08 by Benjamin.Hyder Updating TM-LPV map #Jira UE-24473 Change 2899810 on 2016/03/08 by Lauren.Ridge #jira UE-27995 UE-27987 Final UM3 UI Tweaks, + bug fix Change 2899876 on 2016/03/08 by Peter.Sauerbrei [CL 2913181 by Matthew Griffin in Main branch]
2016-03-17 11:10:14 -04:00
ReadMorePCMData(1, EDataReadMode::AsynchronousSkipFirstFrame);
}
else
{
UE_LOG(LogAndroidAudio, Warning, TEXT("Performing synchronous decode on audio thread with '%s'. This may cause hitching on the game thread if performed too often."), *WaveInstance->WaveData->GetName());
ReadMorePCMData(0, EDataReadMode::Synchronous);
ReadMorePCMData(1, EDataReadMode::Asynchronous);
}
SLresult result;
// callback is used to submit and decompress next buffer
result = (*SL_PlayerBufferQueue)->RegisterCallback(SL_PlayerBufferQueue, OpenSLBufferQueueCallback, (void*)this);
// queue one sound buffer, as that is all Android will accept
if(result == SL_RESULT_SUCCESS)
{
result = (*SL_PlayerBufferQueue)->Enqueue(SL_PlayerBufferQueue, AudioBuffers[0].AudioData, AudioBuffers[0].AudioDataSize );
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
if (result != SL_RESULT_SUCCESS) { UE_LOG(LogAndroidAudio, Warning, TEXT("FAILED OPENSL BUFFER Enqueue SL_PlayerBufferQueue 0x%x params( %p, %d)"), result, SLESBuffer->AudioData, int32(SLESBuffer->GetSize())); return false; }
}
else
{
return false;
}
bStreamedSound = true;
bHasLooped = false;
bBuffersToFlush = false;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3155909) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3118534 on 2016/09/08 by Steve.Cano Certain non-looping SFX would not properly fire "Stop" events when the effect was finished, and therefore Sound Mixes that should end at the end of a SFX (such as ducking the BGM volume) were not properly finishing. Fixing the IsSourceFinished call to check the Position of the player to determine if we are actually done playing, which was not working properly before for PCM sounds. #jira UE-35016 #ue4 #android Change 3119125 on 2016/09/09 by Dmitriy.Dyomin Mobile launcher profile wizard: Fixed case where DLC will not be built if user selects non Development build configuration Fixed case where project maps will be empty if UE4 and project located on different drives Change 3122584 on 2016/09/13 by Allan.Bentham Add simple clip plane for planar reflections. #jira UE-32449 Change 3129390 on 2016/09/16 by Chris.Babcock Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3129867 on 2016/09/18 by Jack.Porter Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3131961 on 2016/09/20 by Allan.Bentham Fix missing editor widgets and gamma incorrectness when mobileHDR == false. Fix editor widget rendering when hdr encoding is active. #jira UE-34281 Change 3132717 on 2016/09/20 by Chris.Babcock Add $S(ProjectDir) to UPL #jira UE-35483 #ue4 Change 3132940 on 2016/09/20 by Chris.Babcock Corrected case for some include files (contributed by Yukariin) #jira UE-33816 #PR #2636 #ue4 #android Change 3134098 on 2016/09/21 by Allan.Bentham Mobile CSM shadow quality controllable via quality levels. #jira UEMOB-74 Change 3134931 on 2016/09/21 by Chris.Babcock Allow Windows types in vulkan.h #jira UE-36270 #ue4 #vulkan Change 3135380 on 2016/09/21 by Dmitriy.Dyomin Plugin which exposes some of BuildPatchServices functionality to BP. Inteded to be used on mobile platforms for donwloading game content. Right now misses: IOS download directory and iOS WiFi detection #jira UEMOB-157 Change 3136004 on 2016/09/22 by Allan.Bentham Add project option to disable vertex fog on mobile. Vertex fog is now enabled even when mobile HDR is not. #jira UEMOB-148 Change 3137377 on 2016/09/22 by Dmitriy.Dyomin Fix compile error from CL# 3135380 Change 3139571 on 2016/09/26 by Jack.Porter Applied deferred change CL 3101462 to mobile to make planar reflections no longer update GPU particles Change 3139663 on 2016/09/26 by Jack.Porter Include Android shader cache files when packaging Change 3142839 on 2016/09/28 by Dmitriy.Dyomin Added WiFi connection detection on iOS Change 3142845 on 2016/09/28 by Jack.Porter Fixed various issues with TcpMessageTransport discovered when transferring automation testing screenshots from mobile devices - socket not readable or writable is not an error condition if output buffer is full - messages were previously limited to 64kb but screenshots overflowed this - messages over 8kb were not reliably received as the inbound buffer was full so the available bytes was always less than the message length - sending large messages was not reliable due to the output buffer being full Change 3143280 on 2016/09/28 by Jack.Porter Clear out UnbuiltInstanceBoundsList when async building a tree with no instances Change 3143282 on 2016/09/28 by Jack.Porter Fix issue where client functional tests in the current map do not appear on clients running with cooked content. Problem is that the AssetRegistry uses in-memory metadata created on load for currently-loaded assets, but cooked content only has the serialized AssetRegistry and individual assets do not contain any metadata. Change 3143808 on 2016/09/28 by Steve.Cano Assume that the app starts in focus at startup and don't wait for an "APP_EVENT_STATE_WINDOW_GAINED_FOCUS" event to fire, as this event will not come down from SplashActivity since it is not a NativeActivity. If the user then rotates the device in Sensor or FullSensor orientation during SplashActivity and forces an eglSurface recreation, the initial Create will properly execute if we're "in focus". Previously, the create-destroy-create cycle would not properly execute due to the EventManager thinking the app was not yet in focus, and would cause the second create to get a 0x3003 error (EGL_BAD_ALLOC) #jira UE-35004 #ue4 #android Change 3144880 on 2016/09/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3146220 on 2016/09/30 by Dmitriy.Dyomin Adjusted device button style to make it more readable. #jira UE-21881 Change 3146280 on 2016/09/30 by Dmitriy.Dyomin Replaced IBuildManifest::ComputeDownloadSize with a new function Change 3146302 on 2016/09/30 by Allan.Bentham Added more stringent checks for ES3.1 compatibility #jira UE-36241 Change 3146435 on 2016/09/30 by Jack.Porter Prevent landscape grass being duplicated for PIE, causing ensure #jira UE-36531 Change 3147532 on 2016/09/30 by Chris.Babcock Use .sh extension for Android install scripts on Linux #jira UE-36669 #ue4 #android #linux Change 3149851 on 2016/10/04 by Dmitriy.Dyomin Mobile: Added custom depth rendering Mobile: Added support for CustomDepth and SceneDepth in post-process materails Change 3149852 on 2016/10/04 by Dmitriy.Dyomin Fixed comments for SortBasePass console variable Change 3149857 on 2016/10/04 by Jack.Porter Remove dead code in ProceduralFoliageComponentDetails.cpp Change 3149863 on 2016/10/04 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3149896 on 2016/10/04 by Dmitriy.Dyomin Fixed: SkyLight makes level entire green on Android devices #jira UE-34469 Change 3150102 on 2016/10/04 by Jack.Porter Bring Protostar 4.13 fixes back to Dev-Mobile Engine - MaxDescriptorSets = 16384 to prevent crash on Mali - Include texture formats in FRenderTargetLayoutHashableStruct to solve RT aliasing issue - Use ERenderTargetLoadAction::EClear for planar reflection target to work around Adreno issue - Default Adreno to SPIR-V Contents - Disable fog, reduce CSM shadow quality, fix device profiles - Add PSO cache Change 3150113 on 2016/10/04 by Jack.Porter Ensure automation testing screenshots have Alpha=255 (fixes automation screenshots on Mobile) Change 3150231 on 2016/10/04 by Jack.Porter Use a new SessionID GUID each time you use the launcher to launch a session. Change 3150608 on 2016/10/04 by Jack.Porter Changes for automated testing screenshots on Android. - Prevent automation screenshots from changing resolution on platforms with fixed resolution - Set GRHIAdapterInternalDriverVersion for OpenGL and Vulkan - Parse ImgTec/ARM/Qualcomm GRHIVendorId on OpenGL - Added helper to convert GRHIVendorId to string Change 3151318 on 2016/10/04 by Jack.Porter Fixed compile error with AdapterVendor Change 3151366 on 2016/10/04 by Jack.Porter Prevent FTcpMessageTransportConnection deadlock on device disconnect Change 3151397 on 2016/10/05 by Dmitriy.Dyomin More consistent BP categories for Mobile Patching utils Change 3151576 on 2016/10/05 by Dmitriy.Dyomin Added on screen warning for invalid reflection captures, can be seen only in game running with FeatureLevel < SM4 and no valid capture data Change 3151795 on 2016/10/05 by Dmitry.Rekman Linux: update UBT to use a v8 multiarch toolchain. - Also added toolchain build scripts and ct-ng configs. Change 3151966 on 2016/10/05 by Allan.Bentham Add mobile support for inverse opacity to mobile scene captures as well as SCS_SceneColorSceneDepth and SCS_SceneDepth. #jira UEMOB-106 Change 3152664 on 2016/10/05 by Chris.Babcock Merging //UE4/Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3152675 on 2016/10/05 by Will.Fissler Fixed patching so that it searches for pak files as well as pkg files. #test Patch for QAGame Change 3152728 on 2016/10/05 by Chris.Babcock Update ReflectionCaptureDDCVer (need to resave maps) Change 3152910 on 2016/10/05 by Dmitry.Rekman Linux: Fix toolchain for non-AutoSDKs (github) case (UE-36899). Change 3152966 on 2016/10/05 by Dmitry.Rekman Linux: Fix test for the installed SDK (UE-36899). Change 3153004 on 2016/10/05 by Dmitry.Rekman Linux: fix CIS (UT server case-sens errors). Change 3153694 on 2016/10/06 by Jack.Porter Rollback ReflectionCaptureDDCVer change as bug intended to fix UE-36919 does not repro Change 3154766 on 2016/10/07 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3154833 on 2016/10/07 by Jack.Porter Fix merge error of MobileShadingRenderer.cpp Change 3154848 on 2016/10/07 by Allan.Bentham Fix mobile scene capture's clear code Change 3154875 on 2016/10/07 by Allan.Bentham fix vk build issues Change 3154941 on 2016/10/07 by Allan.Bentham Fix gearvr build fail Change 3154950 on 2016/10/07 by Allan.Bentham Fix shadowed local variable vk build warning on android. Change 3155909 on 2016/10/07 by Ben.Marsh UBT: Attempt to work around C1076 error ("internal heap limit reached: use /Zm to specify a higher limit"), encountered when building with XGE. Specify the AutoReserveMemory attribute on XGE tool tasks that manipulate precompiled headers. [CL 3155988 by Chris Babcock in Main branch]
2016-10-07 23:11:00 -04:00
bHasPositionUpdated = false;
BufferInUse = 1;
return true;
}
/**
* Initializes a source with a given wave instance and prepares it for playback.
*
* @param WaveInstance wave instance being primed for playback
* @return TRUE if initialization was successful, FALSE otherwise
*/
bool FSLESSoundSource::Init( FWaveInstance* InWaveInstance )
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3198622) #rb None #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3182087 on 2016/11/01 by Lina.Halper PR #2328: fix morph target weight application order. (Contributed by tmiv) - changed order of morphtarget application to be animation and THEN SetMorphTarget - made sure you could clear the weight also if SetMorphTarget to be 0.f #jira: UE-29999 Change 3182090 on 2016/11/01 by Lina.Halper Fix issue where import doesn't display any message when import type hasn't been detected Change 3182123 on 2016/11/01 by Wes.Hunt ensure the EngineAnalytics singleton is not being held onto by someone else during engine shutdown. Change 3182177 on 2016/11/01 by Lina.Halper Fix not being able to modify Joint Target Location in detail panel #jira: UE-30900 Change 3182181 on 2016/11/01 by Ben.Zeigler Add UGameplayTagsManager::AddNativeGameplayTag to allow registering tags directly from native code. This stops them from being deleteable in the editor, and will register them even if they don't exist elsewhere Change internal games to use this to register their native tags. The explicit call to be done adding native tags is not required, it happens on engine post init Some header cleanup Change 3182876 on 2016/11/02 by Danny.Bouimad Moving files Change 3182912 on 2016/11/02 by Thomas.Sarkanen Added access to the viewport client from IPersonaViewport Allows systems to hook into the state of the client. #jira UE-36549 - Need to access the current viewmode in FPersonaMeshDetails Change 3182927 on 2016/11/02 by Thomas.Sarkanen Initially select current asset in the asset family shortcut bar dropdown #jira UE-35532 - Animation dropdown submenu doesn't highlight currently selected object, where as the asset browser does Change 3182970 on 2016/11/02 by Lukasz.Furman CIS fix for gameplay debugger copy of CL# 3165005 Change 3183123 on 2016/11/02 by Mieszko.Zielinski Fixed changing AreaClass of NavLinkProxy point links not having any effect on navmesh generation #UE4 Change 3183310 on 2016/11/02 by Jurre.deBaare Blendspace changes: - Moved MarkerSync code from BlendSpaceBase.cpp to BlendSpaceUtilities.h/cpp - Re-ordered blendspace.h/cpp - const correctness where possible - Removed unused code paths - Wrapped non-runtime code paths in WITH_EDITOR Blendspace editor refactor: - Moved element generators into respective AnimationBlendSpaceHelpers.h/cpp - New Grid Widget class - Simplified Blendspace(1D) editors, most things are handled within SAnimationBlendSpaceBase - SBlendSpaceGridWidget handles visualization and UI interaction (modifying blendspace is done through parent SAnimationBlendSpaceBase) Change 3183344 on 2016/11/02 by James.Golding UEFW-181 : Move PhysX vehicle support to a plugin - Added FPhysicsDelegates for several useful global physics delegates (OnUpdatePhysXMaterial, OnPhysicsAssetChanged, OnPhysSceneInit, OnPhysSceneTerm) - Added OnPhysScenePreTick and OnPhysSceneStep delegates to FPhysScene - TireType is now deprecated, just kept in Engine for backwards compat. TireConfig in PhysXVehicles plugin is new structure - Added 'ConvertTireTypes' editor console util which creates TireConfig's from TireTypes's (using asset registry) and PhysicalMaterials, and updates any VehicleWheel BPs Change 3183351 on 2016/11/02 by Ben.Zeigler Add utility functions to convert from export text versions of tag and container, which is useful when reading tags out of the asset registry Change 3183354 on 2016/11/02 by Ben.Zeigler Change fortnite to use new GameplayTag functions to parse tags in the asset registry to avoid bad stall while checking mission requirements. This only works once the mission infos have been resaved Change 3183383 on 2016/11/02 by Thomas.Sarkanen Persona camera fixes Dont reset the camera all the time when setting skeletal meshes (we only do this the first time now). Add shortcuts to focus the camera using 'F' key from the skeleton tree (or anywhere else that wants to). Also add a menu option to the viewport to make this more discoverable. Shortcut is now handles by the viewport widget instead of the client (as this is how other viewports handle it). #jira UE-36458 - Stop camera from resetting when doing undo or redo in persona animation editor Change 3183409 on 2016/11/02 by Jon.Nabozny #rn Allow MAX_ARRAY_SIZE and MAX_ARRAY_MEMORY from RepLayout to be user configurable. #jira UE-35660 Change 3183625 on 2016/11/02 by James.Golding Hopeful fix for Mac CIS issue in PhysXVehiclesEditor Change 3183652 on 2016/11/02 by Ben.Zeigler Fix issue where commonly replicated tags didn't work if load from ini was turned off. Fix it so gameplay tag tree is always fully sorted alphabetically, instead of only the root tags being sorted. Change 3183856 on 2016/11/02 by Richard.Hinckley #jira UEDOC-4006 Editing GameMode and GameState documentation (in Framework branch). Change 3183902 on 2016/11/02 by Mieszko.Zielinski Fixed EQS debug drawing not showing item labels #UE4 Proper implementation of CL#3183899 #jira UE-38122 Change 3183996 on 2016/11/02 by Jon.Nabozny Fix DefaultMaxRepArrayMemory value to be UINT16_MAX (65535). Was previously set to 64 * 1024 = 65536. Change 3184129 on 2016/11/02 by Ben.Zeigler #jira UE-38022 Move GameplayAbilities to a plugin. Remove GameplayAbilitiesEditorEnabled ini setting, instead enable the "GameplayAbilities" plugin in your uproject if you want abilities, it's disabled by default #jira UE-6947 Remove GameplayAbilityBlueprintGeneratedClass as it's not needed and was only being used half the time #jira UE-19427 Fix incorrect usage of WorldContextObject in ability tasks to instead be OwningAbility, as it would crash if used on anything other than a gameplay ability object Change 3184130 on 2016/11/02 by Ben.Zeigler Internal game fixups for moving gameplayabilities to a plugin Change 3184469 on 2016/11/02 by Ben.Zeigler Change abilities plugin to be more obviously unsupported Change 3184565 on 2016/11/02 by dan.reynolds AEOverview update with HRTF test map Change 3184800 on 2016/11/03 by Thomas.Sarkanen Added "Show Selected and Parents" to bone display options Also fixed mis-named menu section. #jira UE-35375 - Add 'selected bone and parents' option to Persona viewport Change 3184810 on 2016/11/03 by James.Golding Remove WoflPlat PhysX 3.3 and Apex 1.3 files Change 3184817 on 2016/11/03 by Thomas.Sarkanen Added facial animation support Added curve table to sound wave (internal or external). Added UI support for manipulating these. Improved curve table editor. - Editor can now display curves as well as tables. - Sparse keys are now properly supported (where keys are not presnet at some times in some curves). Added curve source interface. Added external curve node. This allows any component or actor (BP or native) that implements ICurveSourceInterface to drive curves. Added new audio component that can also provide curves. This handles the preroll delay (approx 0.4 seconds, depending on audio) so the mouth can open before audio is played. Added bulk importer plugin. This imports audio & FBX files and builds cuirve data into SoundWave assets. - Adapted exisitng FBX curve import slightly to use FRichCurves rather than FFloatCurves. - Added new support for importing curves to a curve table. Added preview of audio to Persona. - Added display, filtering and playback of sound waves from the anim sequence browser. - Audio playback with curves routed to animation now works with anim blueprints and pose assets (as we need a pose asset to preview poses!) - Persona now uses an Actor rather than disparate components. - Added overrides for AddComponent and RemoveComponent to make sure actor is hooked up correctly. - Preview scene can now be manipulated by plugins etc. using a delegate when it is created. - Single anim instance has been slightly re-worked to do its update and evaluate logic inside of a local anim node. This allows derived classes to build functionality up component-wise by adding new nodes to the 'graph'. #jira UEFW-7 - Routing Sound Curves to AnimBP #jira UEFW-5 - Support importing curves #jira UE-37950 - Spawn preview actor in animation editor Change 3184837 on 2016/11/03 by James.Golding PR #2896: Fix FVehicleAnimInstanceProxy::PreUpdate not calling FFAnimInstanceProxy's PreUpdate (Contributed by DenizPiri) #jira UE-37978 Change 3184847 on 2016/11/03 by Thomas.Sarkanen Fixed editor shutdown crash Dont try to save config when UObjects are all gone. Change 3184853 on 2016/11/03 by James.Golding Stop Engine module linking against PhysX vehicle lib, link that into PhysXVehicles plugin instead. Change 3184884 on 2016/11/03 by Thomas.Sarkanen Anim Blueprint thread safety is now checked in the compiler Added new metadata keys for classes and functions to describe their thread safety. Added extra warnings in the anim BP compiler based around these new keys to help people catch suspect thread usage. Expanded the compiler erorr reporting to allow for extra rich message tokens to be appended (for documentation etc.). Improved BP error reporting: Now we display the actual node name instead of CallFunction_0 etc. CVar forcing multithreaded update is now defaulted to off. Projects now by default enable it but can more easily opt-out. #doc Added link to new section of AnimGraph page, which may benefit from images etc. #jira UE-28283 - Look into expanding the system to determine what nodes we allow to run on worker threads. Change 3184886 on 2016/11/03 by Thomas.Sarkanen Content fixes for anim BP thread safety warnings Ocean: Random Float node is unsafe (uses rand() unde rthe hood) so replaced with Random Stream. Odin: Flying Bot accessed the character blueprint inside some transitions. Cached the value in the event graph instead. Fortnite: Disable threaded update for a number of anim BPs as they were using unsafe calls when using CopyPoseFromMesh Change 3184894 on 2016/11/03 by Thomas.Sarkanen Fix Mac CIS Change 3184951 on 2016/11/03 by Thomas.Sarkanen Fix CIS warning on clang platforms Change 3185176 on 2016/11/03 by James.Golding Hopeful fix for building PhysXVehicles plugin for mac Change 3185289 on 2016/11/03 by Alex.Delesky #jira UE-37773 - Updating the Gameplay Tags UI to allow for the following: -Addition of a tag with comments and a specific INI location -An "Add Subtag" button that will allow the user to create a tag underneath a specified parent that autofills most of the information (parent name and location) for the new tag -A dropdown menu to allow for additional actions to be performed on a tag (rename, delete, search for references) -Comments for gameplay tags now show up in the tooltip forthe tag rather than the tag name if one had been specified -Shows a tree in the Project Settings window when viewing the gameplay tag list instead of an array Change 3185331 on 2016/11/03 by Marc.Audy Remove duplicated condition from if Change 3185426 on 2016/11/03 by James.Golding Another attempt at fixing mac builds of PhysXVehicles plugin Change 3185487 on 2016/11/03 by James.Golding - Remove TireType assets from templates/sample, add TireConfigs instead - Make deprecated vehicle vars visible (but not editable), to help converting content - Change icon for PhysX vehicle plugin Change 3185520 on 2016/11/03 by James.Golding Trying yet again to fix Mac CIS! Change 3185542 on 2016/11/03 by Ben.Zeigler #jira UE-34086 Commit modified version of PR #2665 to allow overriding crouch behavior in subclasses of CharacterMovementComponent #jira UE-35652 Fix crouch behavior to not change capsule until after uncroach check, to avoid causing unnecessary physics side effects Also had to set the TeleportPhysics flag in this case, so add code to remember if a teleport was attempted during a deferred movement, and then apply that flag during EndScopedMovementUpdate Change 3185570 on 2016/11/03 by Marc.Audy Protect against theoretical crash introduced in CL# 2049861 if CreatePackage returns null. Remove some autos Change 3185749 on 2016/11/03 by dan.reynolds AEOverview test map addition: testing Virtual Voice Change 3185946 on 2016/11/03 by dan.reynolds AEOverview tweaks - clarified success conditions for Streaming Spam and Streaming Priority maps Change 3185972 on 2016/11/03 by Lina.Halper Fix issue with offset of attachment getting messed up because parent doesn't tick the animation correctly when opening level from Content Browser #jira: UE-31890 #code review: Thomas.Sarkanen Change 3186043 on 2016/11/03 by Alex.Delesky #jira UE-37773 - Fixing some of the gameplay tags UI based on feedback -Right-aligned input fields for the AddNewGameplayTag and RenameGameplayTag widgets -Added a divider to the GameplayTag widget that will appear when the AddNewGameplayTag widget is visible -Tags with comments will now display both their name and their comment in tooltips Change 3186207 on 2016/11/03 by Alex.Delesky #jira UE-37773 - The Gameplay Tags widget in the project browser will no longer display the disabled checkboxes and disabled text for the tag names Change 3186321 on 2016/11/03 by Dan.Reynolds Removed deprecated test asset (BP_ProceduralSoundWaveTest) Change 3186740 on 2016/11/04 by Thomas.Sarkanen Removed FPersona and supporting classes Also removed UMorphTarget's asset type actions (as it was nearly empty and we dont use them as assets any more). #jira UEFW-222 - Remove FPersona Change 3186741 on 2016/11/04 by Thomas.Sarkanen Fix non-unity builds Change 3186755 on 2016/11/04 by Thomas.Sarkanen Prevent adding keys to read-only curves in curve tables Lock off the shift-LMB shortcut to add keys #jira UE-38210 - Crash trying to add a key to a curve table in curve view Change 3186798 on 2016/11/04 by James.Golding UE-37503 - Add FHitResult output to K2_LineTraceComponent Change 3186800 on 2016/11/04 by James.Golding - Remove deprecated collision functions in KismetSystemLibrary - Remove _NEW from collision function names, add redirectors - Add debug draw options (TraceColor, TraceHitColor, DrawTime) to shape traces, to match line traces (UE-35941) Change 3186989 on 2016/11/04 by James.Golding Fix CIS fail in Fortnte Change 3187081 on 2016/11/04 by Wes.Hunt EngineAnalytics::Shutdown now checks to see if the Analytics pointer is null OR unique before ensuring. #jira UE-38125 Change 3187135 on 2016/11/04 by Jurre.deBaare Fix for incorrect framework version in blendspace serialization code. Change 3187682 on 2016/11/04 by Ben.Zeigler #jira UE-38289 Fix crash when replicated tag array is empty Change 3188113 on 2016/11/05 by Mieszko.Zielinski Removed a bunch of deprecated AI module functions #UE4 Cut-off point at v4.10 Change 3188119 on 2016/11/05 by Mieszko.Zielinski Deprecated AI functionality removal fallout fixes #UE4 Change 3188121 on 2016/11/05 by Mieszko.Zielinski PR #2883: Added a Cone EQS Generator (Contributed by orfeasel) Did some massaging on change. #jira UE-37685 Change 3188122 on 2016/11/05 by Mieszko.Zielinski Bumped EnvQueryGenerator_Cone.AlignedPointsDistance's default value up to 100, which makes a bit more sense #UE4 Change 3188442 on 2016/11/07 by James.Golding Check in trace debug draw test map Change 3188463 on 2016/11/07 by james.cobbett Submitting Pose Snapshot test map and asset Change 3188618 on 2016/11/07 by Thomas.Sarkanen Expanded pose snapshot system Allows poses to be stored in variables. Split FPoseSnapshot from FAnimInstanceProxy and made it a BlueprintType USTRUCT. Added modes to FAnimNode_PoseSnapshot so that we can either use the named pose or a FPoseSnapshot variable pin. Moved pose snapshot code into USkeletalMeshComponent as it doesnt need to be on the proxy any more. #jira UEFW-242 - Caching poses to a Blueprint variable (and an anim node to use it with) Change 3188619 on 2016/11/07 by Thomas.Sarkanen Moved "NoResetToDefaults" to the correct metadata section in ObjectMacros.h Change 3188642 on 2016/11/07 by Thomas.Sarkanen Added new test for pose variables Change 3188716 on 2016/11/07 by Ben.Zeigler #jira UE-38294 Fix bad error message when adding new DefaultGameplayTags.ini file Change 3189020 on 2016/11/07 by dan.reynolds Added a test map for Audio Volume Ambient Zone test for Play Sound at Location AVOverviewAZPlaySoundAtLocation Change 3189188 on 2016/11/07 by Jon.Nabozny Fix edge cases / alternate IPv6 formats in IPAddressBSDIPv6::SetIp. #jira UE-36607 Change 3189199 on 2016/11/07 by Jon.Nabozny Flag UActorComponent, USceneComponent, and UPrimitiveComponent UFUNCTIONS as UnsafeDuringActorConstruction="true" if they modify unreplicated properties, require use of the PhysScene, or otherwise indicate poor design. #jira UE-33038 Change 3189271 on 2016/11/07 by Aaron.McLeran UEFW-224 Refectoring UnrealEd code to move all audio related editing code to a new AudioEditor module - Fixups for removals - Several bug fixes for sound classes Change 3189450 on 2016/11/07 by Aaron.McLeran Fixes for facial animation playback progress - Creating a per-source PlaybackTime which can be used to get a fairly accurate playback percentage function for all platforms. - Allowing platforms to override to get a "sample accurate" playback time for platforms that are able. Change 3189507 on 2016/11/07 by Wes.Hunt * Deprecated GetUniqueDeviceId. Use GetDeviceId now instead. #jira AN-820 * Added warnings to each implementation of GetDeviceId as to what API it uses, and what cert requirements may be placed on it. * Deprecated all platform independent usages of GetMacAddress and related functions. #jira AN-820 #jira AN-802 * Deprecated GetMachineId. Use GetLoginId now instead. #jira AN-811 * Update usages of MachineID throughout CrashReporter code. Left MachineId and LoginId as available attributes. * Removed LocalPlayer requirement for setting the Analytics UserId in internal products. Removed fallbacks for seting UserId for internal products. #jira AN-814 #jira AN-808 * Removed GetUniqueDeviceId code from LauncherInstaller. * Removed redundant MachineID and AccountID from Editor.ProgramStarted analytics event. * Removed DeviceID from SessionStart analytics event. #FYI: justin.sargent, Chris.Wood, Wes.Fudala * Justin, reminder that FPortalRpcResponderFactory::Create will need to start using GetLoginID instead of MacAddress for IPC identifiers. * Chris, look over CRP code to ensure that I didn't destroy some vital bit of necessary connection with the MachineId->LoginId name change. Both values are used, and for now, they both return the same thing. * Wes, we didn't need GetUnqiueDeviceId attribute in BeginSession, as no one ever uses it, so I just removed it. Change 3190032 on 2016/11/08 by Wes.Hunt Fix a few places I forgot to deprecate regarding GetMacAddress. Change 3190107 on 2016/11/08 by Wes.Hunt Another attempt to remove deprecation warning in CIS. Apparently removing the warning for a const string initialized via a consrtuctor with a deprecated function is somewhat tricky. Still not sure why it works on my machine either way. Change 3190326 on 2016/11/08 by Aaron.McLeran Fixing CIS build warning Change 3190495 on 2016/11/08 by Jon.Nabozny Fix OSSNull server / session filtering to better match SessionSettings and online OSS. Make MCP, Steam, and Null LAN queries more consistent. #jira UE-37512 Change 3190566 on 2016/11/08 by Martin.Wilson Remove warning on Least Destructive (was incorrectly applied to least destructive due to legacy reasons) #jira UE-27323 Change 3190631 on 2016/11/08 by Martin.Wilson Fix notify validation not triggering when using set time/set frame context menu options #jira UE-37857 Change 3190666 on 2016/11/08 by Martin.Wilson Add info about anim instance to additive warning #jira UE-35930 Change 3191290 on 2016/11/09 by Thomas.Sarkanen Fix skeleton tree selection disappearing when filtering changes Note: Copying //Tasks/UE4/Dev-UEFW132-PhATUpgrade to Dev-Framework (//UE4/Dev-Framework) Split SSkeletonTree into multiple files Items now derive from the common base class ISkeletonTreeItem. New skeleton tree item RTTI added modlled on the drag/drop RTTI. Filtering is now performed independently of tree building. Filtering and building are more extensible (more of this to come). Item selection is now preserved on filter change. Filtering now (optionally) keeps the hierarchy in place. #jira UE-31017 - Skeleton Selection is Lost When Changing Filters Change 3191325 on 2016/11/09 by Thomas.Sarkanen Fix clang CIS Change 3191344 on 2016/11/09 by Thomas.Sarkanen More clang CIS fixes Change 3191345 on 2016/11/09 by Thomas.Sarkanen CIS fix: Missed another enum fwd declaration Change 3191374 on 2016/11/09 by Thomas.Sarkanen Remove 4.11 deprecated functions from animation systems Also deprecate NativeUpdateAnimation_WorkerThread as users should no longer be calling this function (it is not run on worker threads anyways). #jira UE-35748 - Clean up 4.11 Deprecated functions Change 3191375 on 2016/11/09 by Thomas.Sarkanen Fixup Orion hero instance after deprecation Change 3191739 on 2016/11/09 by Marc.Audy PhysX Vehicle plugin needs to be loaded with -game as well, so it must be Developer, not Editor. Change 3191827 on 2016/11/09 by Marc.Audy Raw Input plugin allowing support of steering wheels and flightsticks #jira UEFW-237 Change 3191828 on 2016/11/09 by Ben.Zeigler #jira UE-38384 Comment cleanup for gameplay tag library Change 3191889 on 2016/11/09 by Ben.Zeigler #jira UE-38294 Fix issues with trying to set not-yet-written settings files as writable and add them to source control If a settings file does not yet exist on disk, also try adding to source control after writing it Change 3191911 on 2016/11/09 by Marc.Audy Enable raw input plugin and configure for use with the Logitech G920 all vehicle templates and vehicle game. #jira UEFW-237 Change 3191915 on 2016/11/09 by Marc.Audy Provide useful tooltips for raw input setting properties #jira UEFW-237 Change 3192039 on 2016/11/09 by dan.reynolds AEOverview Update - Added a map for checking multi-channel file playback: AEOverviewMultichannel.umap - Incorporated AVOverviewAZPlaySoundAtLocation test into the AEOverviewMain submap list temporarily for testing purposes Change 3192059 on 2016/11/09 by Martin.Wilson Fix montage thumbnail rendering with ref pose #jira UE-35578 Change 3192065 on 2016/11/09 by Martin.Wilson Widen bone reference widget to give a better view of the name and added full name to tooltip #jira UE-36264 Change 3192217 on 2016/11/09 by Martin.Wilson Auto selected current bone when opening bone reference tree #Jira UE-36264 Change 3192332 on 2016/11/09 by Marc.Audy Fix RawInput compiling when WITH_EDITOR is false #jira UE-38433 Change 3193061 on 2016/11/10 by Thomas.Sarkanen Marked facial animation plugin & component as experimental/beta Change 3193072 on 2016/11/10 by Martin.Wilson Correct reference skeleton fix up order Change 3193112 on 2016/11/10 by Danny.Bouimad Pesudo hair asset usintphat for testing Change 3193243 on 2016/11/10 by Martin.Wilson Fix removal of USkeleton bone tree entries #Jira UE-37363 Change 3193249 on 2016/11/10 by Marc.Audy Raw input compile fixes: Fix additional not with_editor compile issues Fix static analysis warnings #jira UE-38433 Change 3193558 on 2016/11/10 by Martin.Wilson Move "Number of Curves" label creation to attribute so that it updates dynamically #jira UE-26767 Change 3193664 on 2016/11/10 by Marc.Audy PR #2919: Fixed Comment Typo in ActorComponent.cpp (Contributed by KumaKing) #jira UE-38436 Change 3193719 on 2016/11/10 by Lukasz.Furman fixed vertical jitter in replicated NavWalking movement #jira UE-33260 Change 3193802 on 2016/11/10 by Marc.Audy Remove some autos, fix NULL to nullptr, call GetWorld just once Change 3193809 on 2016/11/10 by Marc.Audy Fix Mac CIS compile error #jira UE-38501 Change 3194053 on 2016/11/10 by Aaron.McLeran Fixed crash on shutdown when using audio mixer - Switching audio mixer to use a runnable thread rather than async tasks - Fixed issue where audio buffers weren't taking ownership of wave data Change 3194057 on 2016/11/10 by Aaron.McLeran Adjusting channel mapping code to better support standard down-mixing for 2D multi-channel files. - Added support for 8 channel source files. Change 3194070 on 2016/11/10 by Aaron.McLeran Fixing stupid compile error Change 3194779 on 2016/11/11 by Jon.Nabozny Fixed UnsafeDuringActorConstruction tag on USceneComponent::GetPhysicsVolume. Missed the '=true' portion. Change 3194967 on 2016/11/11 by Mieszko.Zielinski PR #2920: Bug Fix: fix pasting Behavior Tree nodes with decorators in wrong position (Contributed by BrettKercher) #jira UE-38443 #jira UE-30906 Change 3195741 on 2016/11/11 by Ben.Zeigler #UE-38539 Stop Orion from reinitializing it's native tag dictionary when reloading menu, this was just slow before but now ensures Change 3196655 on 2016/11/14 by Marc.Audy Remove pointless remove/adds from Odin DefaultEngine.ini. This also fixes the duplicate redirector of AnimNode_WheelHandler as the version in BaseEngine.ini has been changed where it points to #jira UE-38562 Change 3196678 on 2016/11/14 by Lukasz.Furman pass on gameplay debugger's EQS category copy of CL# 3195071, 3195152, 3196617 with local fixes Change 3196700 on 2016/11/14 by Ben.Zeigler #jira UE-38539 Move where orion tags are initialized to earlier in the startup for all loading flows Change 3196719 on 2016/11/14 by Thomas.Sarkanen Added extra output to anim BP compiler when a blueprint function call is used This allows us to give more info to users when unsafe things (like blueprint functions) are used. Change 3196799 on 2016/11/14 by Jurre.deBaare Fix for blendspace tooltip crash #fix Check before dereferencing animation ptr on samples :) Change 3196971 on 2016/11/14 by Lukasz.Furman replaced hardcoded value for pathfollowing's focal point distance with a parameter #ue4 Change 3196994 on 2016/11/14 by Marc.Audy Slightly improve performance of boolean check Change 3197768 on 2016/11/14 by dan.reynolds AEOverview Stage 2 WIP - Added Command Line auto sub-level loading (-AELoadMap=MapName01,MapName02,etc.) or sub-level categories auto loading (-AELoadCat=AE,SC,STRM,AV,etc.) - Added Categorization menu to Main staging map to help sorting maps by category - Changed menu to be dynamically loaded from editable Data Structure Arrays, so all the menu information is loaded dynamically. Change 3197782 on 2016/11/14 by dan.reynolds AEOverview Stage 2 WIP - fixed misnamed sub-level reference, cleaned up some of the BP Change 3197801 on 2016/11/14 by dan.reynolds AEOverviewMain Stage 2 WIP: - Added Select All Buttom to select all loaded menu items Change 3197988 on 2016/11/15 by Thomas.Sarkanen Add the ability to use incompatible meshes with snapshots We now use a name-based mapping to copy local poses to the correct bones in the hierarchy, similar to CopyPoseFromMesh. No access to UObjects (components or meshes) is performed on worker threads. Bone names are all cached on the game thread when needed and used on worker threads. #jira UE-38413 - Pose snapshot cannot be used across meshes with different hierarchies Change 3198062 on 2016/11/15 by Thomas.Sarkanen Disabled threaded update on various anim blueprints to remove cook warnings #jira UE-38537 - Cooking FortniteGame results in warnings Change 3198071 on 2016/11/15 by Thomas.Sarkanen Fix default values not being available to change post anim BP compilation Make sure we re-select with force refresh on so the details panel is rebuilt even if the objects are the same (as the customization relies upon it). #jira UE-38518 - Animation Blueprint: Default values cannot be changed after compiling if node is currently selected Change 3198082 on 2016/11/15 by Jurre.deBaare CRASH If the Vertical Axis of a blendspace is set to 0 segments when an animation is on the blendspace the editor crashes #fix UI and ClampMin to 1 #jira UE-38587 Change 3198138 on 2016/11/15 by Thomas.Sarkanen Expose montage functions to Blueprint Made sure to flag appropriate functions as not thread safe. Also const-corrected a few functions that should be. Github #2918: Blueprint Callable Montage Set/Get Position #jira UE-38391 - GitHub 2918 : Blueprint Callable Montage Set/Get Position Change 3198141 on 2016/11/15 by Jurre.deBaare Crash from generated Merged Actor with no created lightmap UV #fix Always flag UV channel 0 to be occupied #jira UE-38520 Change 3198420 on 2016/11/15 by Thomas.Sarkanen Move thread-safety check flags to the UAnimBlueprint Then have the compiler propogate the flags to the CDO. Prevents issues where the old CDO wasnt propgated during compile-on-load. Also move blueprint usage warning flag into the UAnimBlueprint too, as these suffer from the same issues. #jira UE-38537 - Cooking FortniteGame results in warnings Change 3198485 on 2016/11/15 by Thomas.Sarkanen Properly fix compile-on-load/cook warnings about anim blueprint thread safety Content only re-save. #jira UE-38537 - Cooking FortniteGame results in warnings Change 3198622 on 2016/11/15 by Ben.Zeigler #jira UE-38632 Fix blueprint warning, was calling SetActive from construction script which is no longer allowed. This was being used for an editor-only debug feature [CL 3198987 by Marc Audy in Main branch]
2016-11-15 15:29:41 -05:00
FSoundSource::InitCommon();
// don't do anything if no volume! THIS APPEARS TO HAVE THE VOLUME IN TIME, CHECK HERE THOUGH IF ISSUES
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3624379) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3536809 by Ben.Marsh Fixing case of files in "iOS" directory, pt 1. Change 3536814 by Ben.Marsh Fixing case of files in "iOS" directory, pt 2. Change 3596207 by Thomas.Sarkanen Copying //Tasks/UE4/Dev-UEAP-29-PhATUpgrade to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3590250 PhAT Upgrade #jira UEAP-29 - New PhysicsAsset editor Changelists from task stream: Change 3380649 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Initial pass at allowing viewports to be extended more easily, still plenty TOD, but just unearthing this old shelf and getting it working. This gets the Persona skeleton tree and viewport into PhAT, without any PhAT functionality added. Change 3380685 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Renaming PhAT files to PhysicsAssetEditor Change 3380749 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rename PhAT -> PhysicsAssetEditor Change 3380832 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed up PhAT to Physics Asset Editor Change 3380884 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Reverted some over-zealous renaming Change 3380970 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaked ISkeletonTreeBuilder interface to make way for actually making a derived class of it Added the ability to hide filter menus to skeleton tree Change 3381017 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added new physics asset skeleton tree builder Change 3384407 on 2017/04/07 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Skeleton tree extensions to support physics assets Only started this work - still much to do Change 3384460 on 2017/04/07 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rearranged persona viewport menus Change 3392222 on 2017/04/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed body/constraint modes. Added graph editor Added edit mode - moved viewport client code over Got PhAT skel mesh rendering in viewport Change 3392268 on 2017/04/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Increased hit proxy priority to improve selection Change 3401648 on 2017/04/20 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Skeleton tree gets bodies & shapes back. Selection works in graph, now displaying the correct constraint in the detials panel. Still need to add selection from viewport. Added multi-select to bone proxy customization Re-tweaked editor layout Change 3403701 on 2017/04/21 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Selection sync work. Customization of anim viewport menus. Context menus for physics asset items, as well as masking of various context menu items via settings. Change 3405246 on 2017/04/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Started more work on viewport menu extensions, but need to refactor the toolbar system to use actual multiboxes. Up next! Change 3405274 on 2017/04/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen More viewport menu fixups (plus deleting duplicate functionality). Change 3409155 on 2017/04/26 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Got simulation working again - as we switched to the debug skel mesh comp, the normal tick path didnt work for post-blend physics (it tried to flip the buffer too early). Also tweaked debug skel mesh comp root motion consumption code to not reset transfor every frame if we are not using root motion. Cleaned up unused files & code Change 3410814 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Allow extensibility of viewport menu bars Slate changes: Allow menu bars to optionally specify an icon to use. This is intended to allow us to move viewport tool/menu bars over to use multibox, with all the attendant features and extension points. Allow menu bars to optionally invert-on-hover. Allow styling of menus to affect closed appearance of menu header. Previously only NoBorder was used. Adjusted core styling of menu bar elements. Other changes: Adjusted padding for various UI elements to preserve previoud behavior. Adjusted SAnimViewportToolbar to use the new menu bar builder. Exposed SEditorViewportViewMenu so that it can be used in a standard menu bar. Change 3410816 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added extension point to viewport menu bar Change 3410818 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Getting sim working again Moved over to using preview instance so we share functionality with Persona editors. Added time dilation options to persona preview scene. Removed PhAT specific recording functionality (it is in the viewport now). Change 3410840 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Recreate physics state on edit, not sim start This allows velocity to be inherited when simulation is started Change 3410863 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moving viewport to continually-invalidated one like animation editors Fixed crash in non-extended viewport toolbars Change 3410936 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Bodies start off non-expanded Selection now synced between viewport and graph Constraint selection in graph not works on the first try Change 3410943 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added missing icon Change 3410966 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed shape listing from graph nodes Change 3411013 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Double click on body node recenters graph Fixed graph disappearing on right-click Change 3411111 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Prevented cursor getting swallowed in sim mode Change 3411126 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed overlapping text Change 3411213 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Node layout now takes dimensions into account Change 3411320 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed crash opening Persona editors Renamed file Change 3411327 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaks to profiles menu Change 3420822 on 2017/05/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Profiles can now be edited in their own details panel Existing customizations folded into the new panel Tweaks to toolbar Added the ability for the persona details panel to have extra top/bottom content added Change 3420832 on 2017/05/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Add profile control to context menus Also delete old unused code Change 3422651 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Toolbar trimmed down & re-ordered Body/constraint ops moved to context menus Apply physmat now a context-menu option with an asset picker Change 3422654 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed extra warning dialog when auto-creating bodies Changed title of new asset dialog to "auto-create bodies" Change 3422680 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix "simulate selected" As we dont re-init the physics state each time we start simulating, our tweaked physics type was never applied. We now manually do this in the editor. Change 3422937 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Replaced EKCollisionPrimitiveType with EAggCollisionShape::Type Fixed up selection so body selection works & tree seleciton is properly synced with viewport Added recursion guard to selection delegate handlers. Removed vestigial instance property editing support (no longer needed). Removed unused old tree support code Change 3423034 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added constraints to tree Change 3423318 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix bone proxiies stopping updating after initial viewport selection Change 3424993 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed up selection issues when creating new bodies Added constraint context menu Change 3424998 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved icons to central location Change 3425445 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Customized filtering of the skeleton tree Hide constraints by defualt Added option to hide parents when filtering (so the vertical space is nto wasted, but some idea of hierarchy is preserved). BREAKING CHANGE: changed skeleton tree filtering API to add args & removed bWillFilter bool. Change 3425488 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3425303 Change 3427886 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved physics sim options to viewport menu (so seleciton changing is not required to change them) Moved physics-related rendering options to show menu We no longer switch to sim options when nothing is selected. During simulation we now disable the details panel Constraint scaling now works correctly (rather than just scaling the screen size limit that axes only are rendered) Change 3428040 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Small fixes based on feedback: Exposed Mirror tool to menus Exposed constraint quick actions to menus Added edit condition to Position & Velocity strength for physical animation Fixed up some tooltips & display names Change 3428143 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Defaulted to constraints as points Change 3428216 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Request from Nick D: Update in-level primitive transforms immediately, rather than on mouse up. We only do this for non-convex primitives however, to avoid re-cooking meshes. Change 3430326 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaks to rendering of constraints and shapes to allow for better seleciton & interaction with editor widgets. Slightly increased point-constraint rendering size and added crosshair cursor to constraints Change 3430327 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed object-reuse issue in skeleton tree items with sanem names (use a GUID instead) Change 3430391 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed duplicate time dilation (can just use viewport menu!) Change 3430419 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixup post-merge Prevent crash by attaching to root component in the correct place Add IWYU include for TArrayView Remove more unused code Change 3430443 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix constraint/body selection one final time Move constraint drawing to SDPG_World (apart from point mode) Remove depth offset in material Change 3430495 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Enabling/disabling collision between bodies is now clearer Menu items are now enabled and disabled correctly depending on collision state Tooltip reflects what actually gets done when the operation is enacted Also corrected a few functions that still reference constraint & body mode Change 3430553 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added enable/disable collision with all Change 3432386 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Color code graph items based on current profile Change 3432401 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Color code tree items too Change 3432418 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Bone selection & manipulation now possible - allows for pose setup before simulation Item expansion now expands leaf nodes when selecting - helps with constraint selection etc. Change 3432427 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix compile error Color code according to simulated/kinematic status Change 3432428 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen File i missed Change 3432540 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added physics asset factory so physics assets can be created form the "new asset" menu. Skeletal mesh is picked then a defualt asset is generated Change 3432556 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Improve interactions with bones & bodies Clear bone selection when selecting bodies/constraints Always hide gizmo in simulate Change 3432703 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed unused selection lock feature Fixed selection working incorrectly with details panel closed Change 3434710 on 2017/05/11 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Selection improvements Multiselect in tree now only selects non-collapsed tree elements Selection API revamped in shared data, so multiselect of constraints can work correctly (they appear more than once in the tree, so the preivous single-point-of-access API was insufficent). Change 3489030 on 2017/06/14 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3488994 Change 3491459 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixup post-merge issues Change 3491486 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Simulation now works in a simlar way to the level editor Only on 'simulate' button, which controls repeating the last simulation (be it selected or not). Options are on a dropdown. Change 3491529 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed selection color of wireframe drawing (this broke ages ago!) Fixed initialized environment color/intensity Change 3491537 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaked materials so they dont repend on seperate translucency (which is optional, and disabled currently) Change 3491791 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix crash when simulating selected new bodies Make sure we recreate physics state appropriately (it used to be done on simulation start, so wasnt needed each time) Change 3494359 on 2017/06/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Select all is now a menu option Context menu pops when right-clicking nothing now too Menu no longer grows enormous when multiple types of objects are selected Change 3494373 on 2017/06/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Enlarged constraint rendering size Show constraints (rather than points) by default Change 3511708 on 2017/06/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics Assets now appear in the asset family shortcut bar Physics Assets now render thumbnails Skeleton tree can now work in 'picker' mode Constraints can now be created manually in the graph, tree and viewport Fixed double-click and mousewheel not working right sometimes Change 3513121 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed clicks incorrectly selecting bones in simulate mode Change 3513160 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics Asset config is now loaded/saved Fixed antoher corner case with viewport clicks in sim Change 3513540 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved body creation params over to a details panel & settings object Moved initial creation dialog over to use the new system too Change 3513591 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Renamed shapes and constraints in the tree view Change 3513752 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Constraints are now not filtered by default Change 3513797 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Selecting constraints now shows them (and the bodies involved) in the graph Change 3513859 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed "Show Kinematic Bodies" We now always show kinematic status in simulate mode Change 3515732 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen PhAT rendering settings are now persisted across sessions. Access to sim/edit settings is now not gated on state of the editor. Sim/edit settings are always both available. Added editable opacity to collision rendering. Change 3515735 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen New materials with opacity parameter Change 3515757 on 2017/06/29 by thomas.sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Re-saved materials Change 3515759 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added ability to only show selected bodies as solid Change 3515812 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix focus 'F' shortcut sometimes not working Change 3515984 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix a bunch of selection issues with the graph not keeping in sync Change 3517456 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3516853 Change 3517514 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed disappearing convex meshes on simulate Also fixes crash in thumbnail rendering Change 3517556 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Disabled selection on mesh. Fixes selection issues. Also made the hit proxy use a crosshair when over bodies, for easier selection Change 3517642 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added body/body collision buttons back to the main toolbar Fixed solid body drawing using the wrong material when no bodies are selected Change 3517828 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix delete shortcut not working when tree is focused Change 3517927 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Integrated per-bone primitive generation with the new tab method Removed context menu item for bones (fixes duplicate popup) Fixed undo/redo not working for regenerating all bodies Change 3519931 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Disabled body regeneration when simulation is running Fixed up tab icons Change 3519978 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Preview mesh is now set like every other Persona editor (via toolbar picker of via preview scene settings) Animation picker removed from toolbar (we use the preview scene settings for this now) Fixed profiles tab icon Change 3519982 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Show attached assets in tree Change 3519995 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix broken multi-selection of bone proxies Change 3532799 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed code that prevented parts of the UI (like simulation) from working in PIE Removed graph overlays & added "PHYSICS" label Change 3532837 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed arrows from graph Fixed dragging off constraints/input pins/bodies in constraint-created graphs Constraint names now include both bodies Change 3532880 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Switched from colors to icons in the skeleton tree Removed bold fonts Change 3532907 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Layout fixes Added border around generate button in tools panel Removed skeleton tree header in contexts where it is not needed Change 3532932 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added slow task dialog for body generation Change 3532992 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rearranged context menus to be not so huge Change 3533134 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rearranged menus some more Change 3533135 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Colorized details customization of swing/twist items Change 3533174 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Auto-open assets when creating from skeletal mesh Tweaked tooltip on suggestion from Nick D Change 3535652 on 2017/07/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed mirroring changes not showing up straight away Change 3535731 on 2017/07/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved over to Persona-style floor adjustment Change 3539689 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaked tooltips for filtering items Change 3539693 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added "deselect all" option (Esc) Change 3539731 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Graph selection tweaks Selected bodies in the viewport/tree are now also selected in the graph. Selection outline is now matched to the graph outline instead of using default outline. Pin allocation no longer happens twice Change 3539750 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Switched simulate shortcut to Alt+Enter Avoids conflict with clobal PIS/SIE shortcuts Change 3539933 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Minor body regeneration refactor Label for tools tab button is dynamic depending on selection context Generation setttings are now re-used by creation dialog too Added in per-bone and per-body regeneration menu items. Bone regeneration now deletes the old body(s) instead of aborting Change 3543884 on 2017/07/19 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Resetting animation to default now correctly applies the animation Change 3544101 on 2017/07/19 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed up physics asset editor's use of debug skel mesh component This broke post-merge from Dev-AnimPhys. Kinda hacky, but we need to double-flip the buffers in this case as we want to force non-threaded work AND also wait on the physics tick group to complete (to blend in physics). This also requires making ShouldBlendPhysicsBones protected, otherwise the buffers are never flipped in the non=simulating case (before simulation is enabled in the physics asset editor). Change 3547893 on 2017/07/21 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved code to add/remove/assign/unassign profiles to details customization Also allowed dupication again (via the menu) Allows correct naming of new profiles as before (as this is handled in PostEdit) #jira UE-47448 - Deleting profiles in Physics Asset Editor does not update the current profile #jira UE-47514 - Unable to duplicate profiles in Physics Asset Editor #jira UE-47384 - New profiles in Physics Asset Editor are all named the same #jira UE-47375 - Physics Asset Editor 'None' current profile Delete option is available #jira UE-47378 - Current Profile name boxes in Physics Asset Editor are size limited and overlap buttons if too long #jira UE-47374 - Physics Asset Editor 'None' current profile text box is editable but doesn't save Change 3547925 on 2017/07/21 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Prevented ctrl+selection of constraints from re-selecting Avoided defered broadcast of seleciton event from the graph #jira UE-47515 - Ctrl + click and Shift + click does not remove constraints from skeleton tree in Physics Asset Editor Change 3550332 on 2017/07/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed bodies incorrectly simulating outside of 'simulate' mode Forced all bodies to be non-simulated when simulation is disabled. Also removed non-functioning motor menu options & disabled more menu options when simulating #jira UE-47579 - Entire mesh rotates uncontrollably after rotating a simulated body in Physics Asset Editor Change 3550355 on 2017/07/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed crash when failing to create a physics asset with multi convex hull #jira UE-47590 - Crash when New Physics Asset window is closed with no asset being created Change 3558007 on 2017/07/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed typo that disabled editability of profile names incorrectly #jira UE-47374 - Physics Asset Editor 'None' current profile text box is editable but doesn't save Change 3566157 on 2017/08/01 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed crash when opening a physics asset with a deleted preview skeletal mesh Now assigns default mesh as before If the mesh is then reset, the asset editor must be re-opened as the skeleton will have changed underneath it. #jira UE-47918 - Crash when opening certain Physics Assets Change 3568327 on 2017/08/02 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Prevent "set bodies below" from improperly enabling simulation on bodies #jira UE-47752 - Set all bodies below to simulated causes the viewport to simulate those bodies immediately in Physics Asset Editor Change 3570436 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics assets with simulated bodies no longer simulate when first opened #jira UE-48000 - Physics assets with simulated bodies begin simulating when first opened Change 3570470 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix excessive gravity crash when actors pop out of the world Also restrict gravity to non NaN-causing levels. #jira UE-48002 - Crash when mesh falls out of world due to high gravity simulation in Physics Asset Editor Change 3570717 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3570581 Change 3570781 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix merge issues Change 3587760 on 2017/08/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed delegate for skeleton tree context menu extension, now uses an empty section Change 3589915 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added comments to bone proxy & physics asset editor shared data Removed unused variables Change 3589976 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed constraint 'all positions' rendering Removed empty override of unregister tab spawners Change 3589983 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix crash when setting skeletal mesh Toast is not displayed when the skeleton is changed as well as the skeletal mesh. Toolkit was getting invalidated as setting the preview mesh to a different skeleton ends up restarting the sub-editor #jira UE-48196 - Crash when changing preview mesh of Physics Asset and applying Change 3589990 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics asset selection color now uses editor settings Change 3589994 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed unused functions Change 3589997 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Commented SetBodiesBelowPhysicsType as per code review Change 3590007 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Disabled physical material menu in simulate Change 3590130 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed unused code Commented a few functions Re-instated preview mesh selection Removed delegate allowing viewport client class creation Change 3590154 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Remove unused code Change 3590197 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3589965 Change 3590250 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixup merge errors Change 3596227 by Jonathan.Poncelet Fixed physics substepping interpolation using the wrong starting value. #jira UE-48150 Physics Substepping doesn't have the same effect from 4.15 to 4.16 Change 3596241 by Jonathan.Poncelet Fixed cloth not being drawn correctly in the editor, due to bounds not being computed accurately. #jira UE-48243 Clothing disappears during cloth paint mode once you navigate to a section far from the origin Change 3596247 by Thomas.Sarkanen Fixup CIS errors post PhAT Upgrade merge Change 3596250 by Thomas.Sarkanen More CIS fixes Change 3596255 by Benn.Gallagher Fixed compilation errors when nativizing animation blueprints that use subinstances #jira UE-46522 Change 3596256 by Benn.Gallagher Fixed orphaned sub anim instance pins hanging around #jira UE-46545 Change 3596257 by Benn.Gallagher Fixed skel surf particles being misplaced when clothing was active. And fixed particles spawning on disabled cloth proxy sections. #jira UE-48045 Change 3596258 by Benn.Gallagher Hide mass override when selecting skeletal meshes. Mass overrides are taken from physics asset and will be ignored on the component so it makes no sense to have this visible #jira UE-47755 Change 3596259 by Benn.Gallagher Fixed mismatch between paint values and view values for clothing tools #jira UE-48110 Change 3596260 by Benn.Gallagher Stopped property context menus killing the whole window stack when an item is clicked #jira UE-48158 Change 3596261 by Thomas.Sarkanen One last Mac CIS fix (hopefully) Change 3596308 by Benn.Gallagher Removed outdated references to APEX in clothing example map. Change 3596360 by Martin.Wilson Fixing inconsistent animation entries in blueprint context menu (displaying differently depending on whether the asset is loaded) + Cache correct tooltip when asset isn't loaded #jira UE-48452 Change 3596459 by Benn.Gallagher Fixed anim curves not correctly being updated to post process instances. Change made to curve update in Dev-General fixed main and sub instances but missed post process instances. #jira UE-47567 Change 3596967 by Aaron.McLeran Adding setting default reverb send level in audio settings. Change 3596974 by Ethan.Geller Merge in fix from Christopher Oliver Change 3597243 by Aaron.McLeran Checking in missing files. Change 3597686 by Ethan.Geller Fix warnings/errors from CL 3597452 Change 3597846 by Ethan.Geller Fix errors, take 2 Change 3598290 by Ethan.Geller Panning Angle Issue Change 3598412 by Ethan.Geller Change Core.h header to CoreMinimal.h, fix warnings Change 3599797 by Jurre.deBaare LODs from Merge Actor tool have bad normals #jira UE-47129 #fix normals weren't wrong but user was complaining about the lightmap resolution behaviour, so added a new feature that calculates the lightmap resolution according to: 1) Summing all lightmap pixel counts for each mesh component being merged 2) Calculating fitting texture dimension by taking square root of the total pixels Change 3599863 by Lina.Halper PR #3919: rename flag 'DEPERCATED_PHYSBLEND_UPDATES_PHYSX' to 'DEPRECATED_PHYSBLEND_UPDATES_PHYSX' to fix the typo (Contributed by aziot) Change 3599883 by Jurre.deBaare HLOD: update outliner tooltip when UE docs arrive #jira UE-20352 Change 3599944 by Martin.Wilson Smart name refactor - Remove guids entirely - Remove automatic fix up - Simplify smart name mapping container - Make animations deterministic for cooking #jira UEAP-264 Change 3600133 by Benn.Gallagher Fixed crash shutting down editor with active cloth paint tab, as mode manager was being used unsafely. #jira UE-48612 Change 3600166 by Benn.Gallagher Fixed cloth paint gradient allowing invalid values #jira UE-48114 Change 3600719 by Lina.Halper PR #3894: PlayMontage node bug Fix (Contributed by ArCorvus) Change 3601668 by Jurre.deBaare Improve BlendSpace preview pin dragging controls #fix Click and drag now also works for the preview pin which should allign it with other pins on the grid and makes the preview functionality more discoverable #misc Also added tooltips on the grid to make the functionality more discoverable #jira UE-43011 Change 3601669 by Jurre.deBaare No easy way to tell which Blend Sample in the blend graph matches up to which Blend Sample in the Asset Details panel #fix I've added the SampleIndex to the names to make it easier recognizing which one is which #jira UE-46892 Change 3601731 by Benn.Gallagher Fixed cloth paint falloff to actually calculate falloff, and take brush strength into account. #jira UE-48329 Change 3601897 by Lina.Halper fixing issue with sequencer reinitialization #jira: UE-48556 Change 3602339 by Benn.Gallagher Fixed comment/tooltip typo Change 3602502 by Benn.Gallagher Fixed clothing gradient tool renderer not showing selected points when camera was moving #jira UE-48331 Change 3602664 by Ethan.Geller Unshelved fixes from Dev-VR Change 3602726 by Lina.Halper Back out revision 3 from //UE4/Dev-AnimPhys/QAGame/QAGame.uproject #jira: UE-48700 Change 3603011 by Lina.Halper Fix build error Change 3604139 by Benn.Gallagher Restricted painter processing to no longer attempt painting while in simulation previews in cloth paint mode. #jira UE-47960 Change 3604284 by Benn.Gallagher Fixed crashes in physics asset editor and skeletal mesh editor when the preview scene clears out the preview mesh while clothing is running #jira UE-48687 Change 3604612 by Lina.Halper Fix curve issue from automation test - It was actual bug. Change 3604614 by Lina.Halper - Fix crash with macro anim notify - Make sure macro anim notify doesn't show up in the menu #jira: UE-45036 Change 3604725 by Lina.Halper fixed issue with opening state machine from anim graph #jira: UE-48726 Change 3604971 by Aaron.McLeran #jira UE-48738 Launching Oculus Rift without -VR plays audio in the oculus rift. Bringing fix from 4.17 to Dev-AnimPhys Change 3605787 by Aaron.McLeran Adding ability to pass in an optional owner in PlaySound2D and PlaySoundAtLocation BP calls - This is necessary in order to use the sound concurrency "limit by owner" feature Change 3606851 by Jurre.deBaare UE4Editor Static Analysis Win64 - Warning fix Change 3607022 by Lina.Halper Fix static analysis warning Change 3607229 by Jurre.deBaare RemoveAllCurveData should not allow removing data from the Skeleton #jira UE-48107 Change 3607660 by Martin.Wilson Live link client can run in cooked builds too #jira UEAP-306 Change 3607668 by Ethan.Geller #jira UE-48792 fix null dereference case in audiodevice.cpp Change 3607734 by Lina.Halper LOD linking to curve - consolidated to one param - curve eval option - for long time, looking at why morphtarget wasn't working on LOD 1, later realized it was due to simplified :( - fixed to make sure param to clear is always checking with default value - this is correct behavior and it's not too bad for perf because internally the default value is also in the TMap - flipped meaning to align with bAllowCurveEvaluation - also fixed issue with orion cooking - where transform curves are added as normal curves #jira: UE-37996, UE-48782 Change 3607859 by Martin.Wilson Missed files from live link editor checkin Change 3607958 by Martin.Wilson Redo Jurre's changes from CL 3607229 (were removed by CL 3607734) Change 3608566 by Ethan.Geller change include to avoid header conflicts on Linux Change 3609074 by Ethan.Geller Take 2: Fix capitalization on include, fix Linux build. Change 3610024 by Lina.Halper Fix issue with material editor crashing due to missing load module of AdvancedPreviewScene - we used to load advanced preview setting by persona module - this has been moved to persona tool kit, and now all other modules are crashing - If we want to do it for tool kit, we have to make sure all other editor's loading should change also. #jira: UE-48809 Change 3610081 by Jurre.deBaare Animations can't be set on blend samples from the dropdown #fix Skeleton asset registry tag now includes 'AssetTypeName' PathToAsset, so replacing compare with contains #jira UE-48746 Change 3610088 by Jurre.deBaare Editor crashes if you CtrlZ several times after adding animations to a 1D blendspace #fix removed the hacky OnObjectPropertyChanged and tied the refresh into propertyhandles instead #misc found out of sync widget values due to incorrect encapsulation inside of lambdas #jira UE-48741 Change 3610862 by Ethan.Geller Fix submix effects for situations where number of input channels does not equal output channels Change 3611346 by Aaron.McLeran Using audio thread platform affinity mask for audio render thread. Change 3613297 by Ethan.Geller Simple delay submix Change 3614435 by Martin.Wilson CIS fix Change 3614482 by Martin.Wilson Store root motion on anim instance instead of proxy to avoid thread safety stalls #jira UE-46896 Change 3614483 by Martin.Wilson Evaluate curves in anim offsets #jira UE-47119 Change 3614495 by Jurre.deBaare Reimport alembic file with new source option does not automatically tick any tracks #fix If no tracks are set to import, reset them all to do so (we're assuming here the user is importing something completely different, and we wouldn't want her to import an empty animation either) #jira UE-46141 Change 3614645 by Thomas.Sarkanen Fixed physics assets not simulating when BlockAll was globally overridden Persona viewport was overriding the collision profile back to BlockAll, which projects can override. Setting to the internal PhysicsActor profile prevents this, as it used to in PhAT #jira UE-48591 - Physics assets not simulating correctly in Orion Change 3614683 by Lina.Halper Fixed crash when modifying default physicsasset #jira: UE-48844 Change 3614721 by Jurre.deBaare Vertex painting on skeletal meshes bound by physics asset #fix Now try and find intersecting triangle if we do hit the mesh bounds, but not any physics bodies #jira UE-48004 Change 3614730 by Thomas.Sarkanen Fixed crash when regenerating multi convex hulls from zero-vert bones We handled this in the single convex hull case, but multi did not. #jira UE-48780 - Editor crashes if you regenerate a box body to a complex hull body Change 3614763 by Jurre.deBaare Moving over: HLOD crash when dragging and dropping actors into their own cluster in the HLOD outliner - ALODActor #jira UE-48249 #fix ensure that we nullptr check the static mesh as a LODActor can be reset to have a null static mesh Change 3615029 by Lina.Halper Fix issue with highlight #jira: UE-48855 Change 3617593 by Thomas.Sarkanen Fixed crash when regenerating large amounts of bodies We were overflowing the PhysX shape limit for aggregates - this refers to shapes, not bodies, it seems #jira UE-48606 - Crash when adding new multi convex hull body to bone on skeleton that already has multi convex hull bodies Change 3617609 by Jonathan.Poncelet Fixed crash that could occur when opening a physics asset and deleting bones. #jira UE-48971 Editor crashes if you clear a preview mesh on a physics asset and delete the bones when reopening it Change 3617723 by Thomas.Sarkanen Prevented actors & components of anim preview scenes (and the preview scenes themselves) from persisting after editors are shut down Fixed up 2 locations where the persona toolkit was being held onto by a strong ptr (cloth paint and new PhAT). This should stop the preview scene from persisting. Moved AddToRoot pattern used for anim preview scene to FGCObject #jira UE-47227 - [CrashReport] UE4Editor_Persona!TSharedPtr<IEditableSkeleton,0>::ToSharedRef() [sharedpointer.h:794] #jira UE-47717 - SkelMesh Editor creates preview World, but it never gets destroyed Change 3617818 by Benn.Gallagher Final v1 UX changes for clothing tool, and removed experimental flag Change 3617937 by Jurre.deBaare Default bounds for Alembic skel-mesh are too large #fix bounds was initialised to zero and +-ed which meant that it would always include (0,0,0) and enlarge the bounds #jira UE-47139 Change 3618187 by Ethan.Geller Implement Audiomixer in HTML5 Change 3618188 by Lina.Halper Fix issue with highlight in persona #jira: UE-49020 Change 3618229 by Lina.Halper Fix crash on exit when modify is causing it to serialize again in the middle of tear down #jira: UE-48025 Change 3618248 by Lina.Halper fix issue by workaround where clamp is not happening with allowspin is false #jira: UE-47001 Change 3618289 by Aaron.McLeran Removing audio format types we're not using for simplicity Change 3618291 by Martin.Wilson Fix duplicate of curve name appearing in list when renaming #jira UE-49041 Change 3618390 by Aaron.McLeran Removing a case for DTYPE_Xenon since this is never used. Change 3618425 by Martin.Wilson Keep notify UI up to data across multiple editors when adding notifies to an animation #jira UE-48104 Change 3619023 by Aaron.McLeran Removing DTYPE_Xenon from XAudio2Buffer.cpp since it's not used Change 3619129 by Aaron.McLeran Source bus feature. - New architectural feature for audio mixer that allows audio sources to route to other audio sources. - Buses can be routed to each other - Buses have a duration which can be set in bus asset - Buses can choose between mono and stereo channels - Sources can send to buses and also toggle to *only* output to buses (and bypass submixing) - Will allow persistent source effects on different source audio, while also maintaining 3d spatialization capabilities. Lots of future features will build on this change: 3d audio-volume-based submixing, sidechaining, environment reflections, diagetic microphones, etc. - Some engine changes and optimizations: - Format conversion to float is done in async workers for decode vs the render callback - Procedural sound waves can opt to output only float vs int16 PCM data (avoids a format conversion in audio mixer) - Apply master attenuation at the final output vs per-source - Fixed code that performs fade in/fade out for smooth startup and shutdown. - Moved FSourceParam to FParam into DSP utility so others can use it. - Some engine fixes: - Audio spat plugins that are external sends will not send audio to default/base submix. But will also allow their audio to be panned and sent to submix sends (e.g. reverb) so external HRTF rendering can also get reverb effects, etc. - Fixed an issue with pause - Fixed an issue with the final source buffer in a source voice not getting properly rendered and causing discontinuties - Fixed an issue with WorldID not getting set for listeners TODO: - fill out source bus details panel customization to hide USoundBase params which aren't relevant to source buses Change 3619159 by Ethan.Geller #jira UE-48950 fix steam audio crash on editor exit Change 3619555 by Jonathan.Poncelet Fixed constraint debug drawing arrows in the physics asset editor being too large. #jira UE-48863 Limited constraints and free constraints are much larger on screen Change 3619574 by Thomas.Sarkanen Fixed debug link for animation blueprints not persisting when changing preview mesh Anim instance is no longer re-created all the time when setting skeletal mesh, so we need to re-init the preview instance and re-set the linked skeletal mesh component manually when the mesh changes. #jira UE-46642 - Switching Preview mesh when you've selected an AnimBP breaks the link between the AnimBP and PIE session Change 3619586 by Thomas.Sarkanen Fixed physics asset shortcut not working correctly in certain circumstances FBox was using uninitialized memory #jira UE-49034 - Pressing F to focus on a physics body focuses on the area in between the root and the physics body and not the selected body Change 3619640 by Thomas.Sarkanen Assets with no preview mesh now no longer allow access to other skeleton's physics assets in their shortcut bars Unified the skeleton/mesh search code between FPersonaAssetFamily and FPersonaToolkit, so they bot *look* for a compatible skeletal mesh if one was not found on the asset (but still dont set it automatically). #jira UE-49038 - If you open a skeleton or an animation it won't open persona with the correct physics asset in the quick switch bar Change 3619644 by James.Golding Change FBodyInstance::InstanceBodyIndex back to int32 (need to support ISMC with many instances) #jira UE-47652 Change 3619654 by Martin.Wilson Fix removing a curve when it isn't used on any animations #jira UE-49048 Change 3619771 by Thomas.Sarkanen Make sure the physics asset editor floor has collision, regardless of what BlockAll does #jira UE-49088 - PhysicsAsset Editor Floor should not depend on BlockAll config Change 3619803 by Jonathan.Poncelet Fixed localization warnings caused by duplicate keys. #jira UE-48580 //UE4/Main: Step "Build Engine Localization" has completed with 4 Warnings Change 3619813 by Jurre.deBaare Baked bones using a pose animation are rotated in the wrong direction #fix root bone transform wasn't being taken into account while generating final bone transforms #misc added debug logging for future work #jira UE-47362 Change 3619830 by Jurre.deBaare Biased Texture Size option is not functioning when Merging Actors #fix Fixed up material baking setup after refactoring, now sets correct texture sizes again according to texture sizing type, this will be removed in the long term anyhow #misc Found a bug in material rendering if previous render size < current render size it would not set the viewport size/projection matrix correctly which broke the material bake #jira UE-48108 Change 3619859 by Thomas.Sarkanen Fixed HLOD selection sphere persisting on undo/redo Removed HLOD selection actors when the outliner is refreshed #jira UE-47032 - HLOD Cluster radius sphere remains in level if you move an actor in a cluster and then undo the movement. Change 3619871 by Martin.Wilson Calculate root motion over the correct segment times, not the track times #jira UE-43719 Change 3619898 by Thomas.Sarkanen Improve UI feedback around bounds/in-game bounds in animation editor viewports Tooltip for in-game bounds is now more detailed In-game bounds cannot be selected if bounds is not also selected #jira UE-47958 - Bound vs In-game Bound in Viewport Show menu in Physics Asset Editor is confusing Change 3619908 by Thomas.Sarkanen Fixed tooltip for PhysicsType #jira UE-48421 - Incorrect tooltip for Physics Type Change 3620014 by Jurre.deBaare Only the first mesh bake material property in the array can be set to diffuse, diffuse cannot be selected on the other array elements #fix Changed the way the restriction is setup and retrieve the UMaterialOptions from the details view instead of GetDefault<> #misc Also added more delegates to ensure the restriction is up to date #jira UE-46980 Change 3620104 by Jurre.deBaare HLOD doesn't support renaming in levels #fix ensure that during renaming of UWorld we also rename the HLOD assets into their respective new HLOD package outer #jira UE-48072 Change 3620151 by Thomas.Sarkanen Undo/redo now correctly affects animation preview scene settings Preview scene desc is now transactional & state is correctly set up on undo/redo according to the current preview scene desc #jira UE-47816 - Undoing setting the animation mode to Refrence pose doesn't update the UI Change 3620152 by Thomas.Sarkanen Exposed LOD menu in PhAT This allows auto LOD to be optionaly selected. It was hidden and we forced to LOD 0 before. We still default to forcing LOD 0 to preserve the old behavior. #jira UE-47970 - LODs not working in Physics Asset Editor Change 3620177 by Benn.Gallagher PR #3696: Fix for USkinnedMeshComponent::GetCPUSkinnedVertices() (Contributed by Koderz) Change 3620250 by Jurre.deBaare HLOD assets left in HLOD folder when clusters are deleted #fix some added lifetime management for HLOD assets, keeping list of 'stale' HLOD assets which if not Undo-ed will either be deleted when LODActor is saved, or marked PendingKill when LODActor is destroyed #jira UE-47450 Change 3620273 by James.Golding PR #3908: Removing duplicated forward declation (Contributed by celsodantas) #jira UE-48530 Change 3620274 by James.Golding PR #3909: Removing unnecessary conditional (Contributed by celsodantas) #jira UE-48531 Change 3620275 by James.Golding Add icon for destruction plugin Change 3620401 by Ethan.Geller #jira UE-47684 Remove SDL dependencies from Win64 Change 3620586 by Jurre.deBaare Linux CIS fix Change 3620660 by Martin.Wilson Fixes for state machines getting reinitialized in situations that users don't want them to. -Added option to state machine to allow it to skip reinitialization when it becomes relevant -Added option to slot nodes to keep source pose relevant while montage slot is playing. #jira UE-43578 Change 3620665 by Aaron.McLeran Making source buses only show relevant source bus data. - hiding sound wave categories that aren't relevant to source buses Change 3621087 by Ethan.Geller #jira UE-49000 implement device change listener to ensure we are properly handling when audio is disabled. Change 3621144 by Aaron.McLeran #jira UE-49147 #jira UE-49145 Fixing concurrency and volume stats Change 3621148 by Aaron.McLeran Fixing typo Change 3621180 by Ethan.Geller #jira UE-49151 Fix for browser preview on bus only sounds Change 3621421 by Ethan.Geller #jira UE-49165 Fix real time audio slider. Change 3621604 by Ethan.Geller #jira UE-44847 fix iOS panning algorithm on non-audio mixer Change 3621626 by Lina.Halper Fix issue with anim montage displaying when selecting animation #jira: UE-48749 Change 3621813 by Thomas.Sarkanen Fixing undo/redo of bone modifications in Physics Asset Editor (and others) Bone proxy objects now get recycled (instead of the pool constantly growing) as their names are stable and unique. Fixed broken skeleton tree RTTI (so selection persistance now works correctly on undo/redo again) We no longer force a re-selection on phyiscs asset changes (the tree takes care of that anyway). #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3621831 by Jurre.deBaare Crash fix for Material baking when trying to analyse a MP_MAX material property #jira UE-49172 Change 3621936 by Thomas.Sarkanen Fixed CIS error from merge Change 3621937 by Thomas.Sarkanen Fix merge issue with API change in USynthComponent Change 3622173 by Thomas.Sarkanen Fixed ortho viewports being bright white in sub-editors Preview scenes in general are responsible by default for the background color. Advanced preview scenes now use background color from settings. Previously only te animation editors did this. #jira UE-48841 - The background of the orthographic viewports is bright white Change 3622730 by Ethan.Geller #jira UE-49182 UE-49198 UE-49201 Fix for channel mismatch in procedural sound waves, remove singleton behavior for MMNotificationClient. CL by Aaron.McLeran Change 3622759 by Ethan.Geller #jira 49170 reduce static analysis warnings for audiodevice.cpp Change 3622901 by Benn.Gallagher Bumped PhysX DDC key after change in Orion caused verify failures Change 3623458 by Aaron.McLeran #jira UE-49204 Delores monologue cut short in Odin elevator Change 3623667 by Aaron.McLeran #jira UE-49204 UE-49243 Delores monologue cut short in Odin elevator Change 3623752 by Aaron.McLeran #jira UE-49247 Sound Source Bus Properties Are Inappropriate Fixing issues with new source bus uobject so properties show up appropriately. Change 3624058 by Ben.Marsh Fix stale module being enumerated when running UE4Editor-Cmd.exe, causing warning when running incremental automated tests. Module and version manifest filenames are derived from the executable filename, so when running the executable compiled for the console subsystem, we need to strip the -Cmd suffix from the executable name to find the correct path. Change 3624193 by Ethan.Geller #jira UE-49170 Static analysis fix, take 2 Change 3354003 by Thomas.Sarkanen Back out changelist 3353914 Change 3355932 by Thomas.Sarkanen Back out changelist 3354003 Reinstating merge from Main: Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3353839 Change 3477632 by Jurre.deBaare Automated test content and ground truths for Actor Merging and Material baking functionality Change 3491464 by Jurre.deBaare Updated automation content for MergeActor behaviour Change 3587878 by Thomas.Sarkanen Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3587489 Change 3597452 by Ethan.Geller #jira UEAP-304, UEAP-280, UEAP-281: Major structural refactor of Audio Plugin interfaces, Oculus Audio plugin, Steam Audio Plugin. Introduction of Sony Audio3D plugin. Change 3602935 by Lina.Halper Allow curve evaluation to be controlled by users #jira: UE-46446 Change 3606120 by Ethan.Geller Move Tap Delay Submix to Synthesis library, modify tap delay API Change 3621830 by Thomas.Sarkanen Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3621691 Change 3622807 by Ethan.Geller #jira UE-49201 Fixing volume issues Issue is that these platforms weren't using the proper public function and an audio mixer refactor changed how volume is calculated to seperate out distance attenuation vs other volume gains. [CL 3624383 by Thomas Sarkanen in Main branch]
2017-09-04 04:17:46 -04:00
if( InWaveInstance && ( InWaveInstance->GetActualVolume()) <= 0 )
{
return false;
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
if (SLESBuffer && SLESBuffer->ResourceID == 0)
{
UE_LOG( LogAndroidAudio, Warning, TEXT(" InitSoundSouce with Buffer already allocated"));
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
delete SLESBuffer;
SLESBuffer = nullptr;
Buffer = nullptr;
}
if (SL_PlayerObject)
{
UE_LOG( LogAndroidAudio, Warning, TEXT(" InitSoundSouce with PlayerObject not NULL, possible leak"));
}
// Find matching buffer.
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLESBuffer = FSLESSoundBuffer::Init( (FSLESAudioDevice *)AudioDevice, InWaveInstance->WaveData );
Buffer = SLESBuffer;
if( SLESBuffer && InWaveInstance->WaveData->NumChannels <= 2 && InWaveInstance->WaveData->GetSampleRateForCurrentPlatform() <= 48000 )
{
SCOPE_CYCLE_COUNTER( STAT_AudioSourceInitTime );
bool bFailedSetup = false;
if (CreatePlayer())
{
WaveInstance = InWaveInstance;
Copying //UE4/Dev-Platform to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2719147 on 2015/10/07 by Mark.Satterthwaite Allow the shader cache to perform some precompilation synchronously on load before falling back to asynchronous compilation to balance load times against total time spent precompiling. Added a stat to the group that reports how long the precompile has been running until it completes so it is easier to track. Change 2719182 on 2015/10/07 by Mark.Satterthwaite Refactor the ShaderCache's internal data structures and change the way we handle recording whether a particular predraw state has been submitted to try and make it more efficient. Change 2719185 on 2015/10/07 by Mark.Satterthwaite Merging CL #2717701: Try and fix random crashes on Mac when manipulating bound-shader-states caused by ShaderCache potentially providing a bogus shader state pointer on exit from predraw. Change 2719434 on 2015/10/07 by Mark.Satterthwaite Make sure that Mac ensures reports have a source context and a sane callstack when sent to the crash-reports server. Change 2724764 on 2015/10/12 by Josh.Adams [Initial AppleTV support] Merging //depot/YakBranch/... to //UE4/Dev-Platform/... Change 2726266 on 2015/10/13 by Lee.Clark PS4 - Calc reserve size required for DMA copy when using unsafe command buffers Change 2726401 on 2015/10/13 by Mark.Satterthwaite Merging CL #2716418: Fix UE-15228 'Crash Report Client doesn't restart into project editor on Mac' by reporting the original command line supplied by LaunchMac, not the modified one that strips the project name. The CRC can then relaunch as expected. #jira UE-15228 Change 2726421 on 2015/10/13 by Lee.Clark PS4 - Don't try to clear invalid targets Change 2727040 on 2015/10/13 by Michael.Trepka Merging CL 2724777 - Fixed splash screen rendering for images with DPI different than 72 Change 2729783 on 2015/10/15 by Keith.Judge Fix huge memory leak in Test/Shipping configurations, caused because I am a numpty. Change 2729847 on 2015/10/15 by Mark.Satterthwaite Merging CL #2729846: On OS X unconstrain windows from the dimension of the parent display when in Windowed mode - it is OK for them to be larger in this case. They do need to be repositioned if on the Primary display so that they don't creep under the menu bar and become unmovable/unclosable and Fullscreen windows still need to be constrained to a single display. We can now take screenshots of windows that are larger than the display & not get grey bars beyond the cutoff. #jira UE-21992 Change 2729865 on 2015/10/15 by Keith.Judge Fast semantics - Finish up resource transitions, adding resource decompression where appropriate and using non-fast clears where we can't determine the resource transition. Change 2729897 on 2015/10/15 by Keith.Judge Fast Semantics - Make sure all GetData() calls are made safe with GPU fences. Change 2729972 on 2015/10/15 by Keith.Judge Removed the last vestiges of ID3D11DeviceContext/ID3D11DeviceContext1 from the Xbox RHI. Everything now uses ID3D11DeviceContextX directly. This should be marginally quicker as it stops a double call to ClearState(). Change 2731503 on 2015/10/16 by Keith.Judge Added _XDK_VERSION to the DDC key for textures, which should solve the issue of the tiling mode changing in August XDK (and future changes Microsoft may inflict). Change 2731596 on 2015/10/16 by Keith.Judge Fast Semantics - Add deferred resource deletion queue to make deleted resources be actually deleted a number of frames later so that the GPU is definitely finished with them. Hooked up the temporary SRVs for dynamic VBs as a first step. Change 2731928 on 2015/10/16 by Michael.Trepka PR #1659: Mac/Build.sh handles additional arguments (Contributed by judgeaxl) Change 2731934 on 2015/10/16 by Michael.Trepka PR #1618: added clang 3.7.0 -Wshift-negative-value ignore in JpegImageWrapper.cpp (Contributed by bsekura) Change 2732018 on 2015/10/16 by Mark.Satterthwaite Emit a shader code cache for each platforms requested shader formats, this is separate to the targeted formats as not all can or need to be cached. - The implementation extends the ShaderCache's hooks in FShaderResource's serialisation function to capture the required shaders. - Each target platform has its own list of cached shader formats, analogous to the list of targeted RHIs. Presently only the Mac implements this. - Code cached shaders are now compressed (for size) to reduce the overhead associated with keeping all the shader code around - this works esp. well for text-based formats like GLSL. Change 2732365 on 2015/10/16 by Josh.Adams - Packaging a TVOS .ipa now works (still haven't tried any of the Editor integration like Launch On) Change 2733170 on 2015/10/18 by Terence.Burns Fix for Android IAP query not returning entire inventory. Change 2733174 on 2015/10/18 by Terence.Burns Fix Movie player issue where wait for movie to finish isnt being respected. Seems a stray bUserCanceled event flag was causing this not to be observed. Added some verbose logging to apple movie player. Change 2733488 on 2015/10/19 by Mark.Satterthwaite Added the ability to merge the .ushadercache files used by the ShaderCache to store shader & draw state information. - Fixed a bug that would cause invalid shader membership and draw state information to be logged. - Added a separate command-line tool to merge shader cache files, currently Mac-only but in theory should work on other platforms too. Change 2735226 on 2015/10/20 by Mark.Satterthwaite Fix temporal AA rendering on GL/Mac OS X - you can't rely on EyeAdaptation values unless SM5 is available so only perform that code on SM5 & we must correctly clamp saturate(NaN) to 0 as the current hlslcc won't do that for us (& is required by the HLSL spec). The latter used to be clamped in the AA_ALPHA && AA_VELOCITY_WEIGHTING code block that was removed recently. #jira UE-21214 #jira UE-19913 Change 2736722 on 2015/10/21 by Daniel.Lamb Improved performance of cooking stats system. Change 2737172 on 2015/10/21 by Daniel.Lamb Improved cooking stats performance for ddc stats.
2015-12-10 16:56:55 -05:00
if (WaveInstance->StartTime > 0.f)
{
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLESBuffer->Seek(WaveInstance->StartTime);
Copying //UE4/Dev-Platform to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2719147 on 2015/10/07 by Mark.Satterthwaite Allow the shader cache to perform some precompilation synchronously on load before falling back to asynchronous compilation to balance load times against total time spent precompiling. Added a stat to the group that reports how long the precompile has been running until it completes so it is easier to track. Change 2719182 on 2015/10/07 by Mark.Satterthwaite Refactor the ShaderCache's internal data structures and change the way we handle recording whether a particular predraw state has been submitted to try and make it more efficient. Change 2719185 on 2015/10/07 by Mark.Satterthwaite Merging CL #2717701: Try and fix random crashes on Mac when manipulating bound-shader-states caused by ShaderCache potentially providing a bogus shader state pointer on exit from predraw. Change 2719434 on 2015/10/07 by Mark.Satterthwaite Make sure that Mac ensures reports have a source context and a sane callstack when sent to the crash-reports server. Change 2724764 on 2015/10/12 by Josh.Adams [Initial AppleTV support] Merging //depot/YakBranch/... to //UE4/Dev-Platform/... Change 2726266 on 2015/10/13 by Lee.Clark PS4 - Calc reserve size required for DMA copy when using unsafe command buffers Change 2726401 on 2015/10/13 by Mark.Satterthwaite Merging CL #2716418: Fix UE-15228 'Crash Report Client doesn't restart into project editor on Mac' by reporting the original command line supplied by LaunchMac, not the modified one that strips the project name. The CRC can then relaunch as expected. #jira UE-15228 Change 2726421 on 2015/10/13 by Lee.Clark PS4 - Don't try to clear invalid targets Change 2727040 on 2015/10/13 by Michael.Trepka Merging CL 2724777 - Fixed splash screen rendering for images with DPI different than 72 Change 2729783 on 2015/10/15 by Keith.Judge Fix huge memory leak in Test/Shipping configurations, caused because I am a numpty. Change 2729847 on 2015/10/15 by Mark.Satterthwaite Merging CL #2729846: On OS X unconstrain windows from the dimension of the parent display when in Windowed mode - it is OK for them to be larger in this case. They do need to be repositioned if on the Primary display so that they don't creep under the menu bar and become unmovable/unclosable and Fullscreen windows still need to be constrained to a single display. We can now take screenshots of windows that are larger than the display & not get grey bars beyond the cutoff. #jira UE-21992 Change 2729865 on 2015/10/15 by Keith.Judge Fast semantics - Finish up resource transitions, adding resource decompression where appropriate and using non-fast clears where we can't determine the resource transition. Change 2729897 on 2015/10/15 by Keith.Judge Fast Semantics - Make sure all GetData() calls are made safe with GPU fences. Change 2729972 on 2015/10/15 by Keith.Judge Removed the last vestiges of ID3D11DeviceContext/ID3D11DeviceContext1 from the Xbox RHI. Everything now uses ID3D11DeviceContextX directly. This should be marginally quicker as it stops a double call to ClearState(). Change 2731503 on 2015/10/16 by Keith.Judge Added _XDK_VERSION to the DDC key for textures, which should solve the issue of the tiling mode changing in August XDK (and future changes Microsoft may inflict). Change 2731596 on 2015/10/16 by Keith.Judge Fast Semantics - Add deferred resource deletion queue to make deleted resources be actually deleted a number of frames later so that the GPU is definitely finished with them. Hooked up the temporary SRVs for dynamic VBs as a first step. Change 2731928 on 2015/10/16 by Michael.Trepka PR #1659: Mac/Build.sh handles additional arguments (Contributed by judgeaxl) Change 2731934 on 2015/10/16 by Michael.Trepka PR #1618: added clang 3.7.0 -Wshift-negative-value ignore in JpegImageWrapper.cpp (Contributed by bsekura) Change 2732018 on 2015/10/16 by Mark.Satterthwaite Emit a shader code cache for each platforms requested shader formats, this is separate to the targeted formats as not all can or need to be cached. - The implementation extends the ShaderCache's hooks in FShaderResource's serialisation function to capture the required shaders. - Each target platform has its own list of cached shader formats, analogous to the list of targeted RHIs. Presently only the Mac implements this. - Code cached shaders are now compressed (for size) to reduce the overhead associated with keeping all the shader code around - this works esp. well for text-based formats like GLSL. Change 2732365 on 2015/10/16 by Josh.Adams - Packaging a TVOS .ipa now works (still haven't tried any of the Editor integration like Launch On) Change 2733170 on 2015/10/18 by Terence.Burns Fix for Android IAP query not returning entire inventory. Change 2733174 on 2015/10/18 by Terence.Burns Fix Movie player issue where wait for movie to finish isnt being respected. Seems a stray bUserCanceled event flag was causing this not to be observed. Added some verbose logging to apple movie player. Change 2733488 on 2015/10/19 by Mark.Satterthwaite Added the ability to merge the .ushadercache files used by the ShaderCache to store shader & draw state information. - Fixed a bug that would cause invalid shader membership and draw state information to be logged. - Added a separate command-line tool to merge shader cache files, currently Mac-only but in theory should work on other platforms too. Change 2735226 on 2015/10/20 by Mark.Satterthwaite Fix temporal AA rendering on GL/Mac OS X - you can't rely on EyeAdaptation values unless SM5 is available so only perform that code on SM5 & we must correctly clamp saturate(NaN) to 0 as the current hlslcc won't do that for us (& is required by the HLSL spec). The latter used to be clamped in the AA_ALPHA && AA_VELOCITY_WEIGHTING code block that was removed recently. #jira UE-21214 #jira UE-19913 Change 2736722 on 2015/10/21 by Daniel.Lamb Improved performance of cooking stats system. Change 2737172 on 2015/10/21 by Daniel.Lamb Improved cooking stats performance for ddc stats.
2015-12-10 16:56:55 -05:00
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
switch( SLESBuffer->Format)
{
case SoundFormat_PCM:
bFailedSetup |= !EnqueuePCMBuffer( InWaveInstance->LoopingMode != LOOP_Never );
break;
case SoundFormat_PCMRT:
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
case SoundFormat_Streaming:
bFailedSetup |= !EnqueuePCMRTBuffer( InWaveInstance->LoopingMode != LOOP_Never );
break;
default:
bFailedSetup = true;
}
}
else
{
bFailedSetup = true;
}
// clean up the madness if anything we need failed
if( bFailedSetup )
{
UE_LOG( LogAndroidAudio, Warning, TEXT(" Setup failed %s"), *InWaveInstance->WaveData->GetName());
DestroyPlayer();
return false;
}
Update();
// Initialization was successful.
return true;
}
else
{
// Failed to initialize source.
// These occurences appear to potentially lead to leaks
UE_LOG( LogAndroidAudio, Warning, TEXT("Init SoundSource failed on %s"), *InWaveInstance->WaveData->GetName());
UE_LOG( LogAndroidAudio, Warning, TEXT(" SampleRate %d"), InWaveInstance->WaveData->GetSampleRateForCurrentPlatform());
UE_LOG( LogAndroidAudio, Warning, TEXT(" Channels %d"), InWaveInstance->WaveData->NumChannels);
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
if (SLESBuffer && SLESBuffer->ResourceID == 0)
{
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
delete SLESBuffer;
SLESBuffer = nullptr;
Buffer = nullptr;
}
}
return false;
}
FSLESSoundSource::FSLESSoundSource( class FAudioDevice* InAudioDevice )
: FSoundSource( InAudioDevice ),
Device((FSLESAudioDevice *)InAudioDevice),
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLESBuffer( NULL ),
bStreamedSound(false),
bBuffersToFlush(false),
BufferSize(0),
BufferInUse(0),
VolumePreviousUpdate(-1.0f),
bHasLooped(false),
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3155909) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3118534 on 2016/09/08 by Steve.Cano Certain non-looping SFX would not properly fire "Stop" events when the effect was finished, and therefore Sound Mixes that should end at the end of a SFX (such as ducking the BGM volume) were not properly finishing. Fixing the IsSourceFinished call to check the Position of the player to determine if we are actually done playing, which was not working properly before for PCM sounds. #jira UE-35016 #ue4 #android Change 3119125 on 2016/09/09 by Dmitriy.Dyomin Mobile launcher profile wizard: Fixed case where DLC will not be built if user selects non Development build configuration Fixed case where project maps will be empty if UE4 and project located on different drives Change 3122584 on 2016/09/13 by Allan.Bentham Add simple clip plane for planar reflections. #jira UE-32449 Change 3129390 on 2016/09/16 by Chris.Babcock Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3129867 on 2016/09/18 by Jack.Porter Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3131961 on 2016/09/20 by Allan.Bentham Fix missing editor widgets and gamma incorrectness when mobileHDR == false. Fix editor widget rendering when hdr encoding is active. #jira UE-34281 Change 3132717 on 2016/09/20 by Chris.Babcock Add $S(ProjectDir) to UPL #jira UE-35483 #ue4 Change 3132940 on 2016/09/20 by Chris.Babcock Corrected case for some include files (contributed by Yukariin) #jira UE-33816 #PR #2636 #ue4 #android Change 3134098 on 2016/09/21 by Allan.Bentham Mobile CSM shadow quality controllable via quality levels. #jira UEMOB-74 Change 3134931 on 2016/09/21 by Chris.Babcock Allow Windows types in vulkan.h #jira UE-36270 #ue4 #vulkan Change 3135380 on 2016/09/21 by Dmitriy.Dyomin Plugin which exposes some of BuildPatchServices functionality to BP. Inteded to be used on mobile platforms for donwloading game content. Right now misses: IOS download directory and iOS WiFi detection #jira UEMOB-157 Change 3136004 on 2016/09/22 by Allan.Bentham Add project option to disable vertex fog on mobile. Vertex fog is now enabled even when mobile HDR is not. #jira UEMOB-148 Change 3137377 on 2016/09/22 by Dmitriy.Dyomin Fix compile error from CL# 3135380 Change 3139571 on 2016/09/26 by Jack.Porter Applied deferred change CL 3101462 to mobile to make planar reflections no longer update GPU particles Change 3139663 on 2016/09/26 by Jack.Porter Include Android shader cache files when packaging Change 3142839 on 2016/09/28 by Dmitriy.Dyomin Added WiFi connection detection on iOS Change 3142845 on 2016/09/28 by Jack.Porter Fixed various issues with TcpMessageTransport discovered when transferring automation testing screenshots from mobile devices - socket not readable or writable is not an error condition if output buffer is full - messages were previously limited to 64kb but screenshots overflowed this - messages over 8kb were not reliably received as the inbound buffer was full so the available bytes was always less than the message length - sending large messages was not reliable due to the output buffer being full Change 3143280 on 2016/09/28 by Jack.Porter Clear out UnbuiltInstanceBoundsList when async building a tree with no instances Change 3143282 on 2016/09/28 by Jack.Porter Fix issue where client functional tests in the current map do not appear on clients running with cooked content. Problem is that the AssetRegistry uses in-memory metadata created on load for currently-loaded assets, but cooked content only has the serialized AssetRegistry and individual assets do not contain any metadata. Change 3143808 on 2016/09/28 by Steve.Cano Assume that the app starts in focus at startup and don't wait for an "APP_EVENT_STATE_WINDOW_GAINED_FOCUS" event to fire, as this event will not come down from SplashActivity since it is not a NativeActivity. If the user then rotates the device in Sensor or FullSensor orientation during SplashActivity and forces an eglSurface recreation, the initial Create will properly execute if we're "in focus". Previously, the create-destroy-create cycle would not properly execute due to the EventManager thinking the app was not yet in focus, and would cause the second create to get a 0x3003 error (EGL_BAD_ALLOC) #jira UE-35004 #ue4 #android Change 3144880 on 2016/09/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3146220 on 2016/09/30 by Dmitriy.Dyomin Adjusted device button style to make it more readable. #jira UE-21881 Change 3146280 on 2016/09/30 by Dmitriy.Dyomin Replaced IBuildManifest::ComputeDownloadSize with a new function Change 3146302 on 2016/09/30 by Allan.Bentham Added more stringent checks for ES3.1 compatibility #jira UE-36241 Change 3146435 on 2016/09/30 by Jack.Porter Prevent landscape grass being duplicated for PIE, causing ensure #jira UE-36531 Change 3147532 on 2016/09/30 by Chris.Babcock Use .sh extension for Android install scripts on Linux #jira UE-36669 #ue4 #android #linux Change 3149851 on 2016/10/04 by Dmitriy.Dyomin Mobile: Added custom depth rendering Mobile: Added support for CustomDepth and SceneDepth in post-process materails Change 3149852 on 2016/10/04 by Dmitriy.Dyomin Fixed comments for SortBasePass console variable Change 3149857 on 2016/10/04 by Jack.Porter Remove dead code in ProceduralFoliageComponentDetails.cpp Change 3149863 on 2016/10/04 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3149896 on 2016/10/04 by Dmitriy.Dyomin Fixed: SkyLight makes level entire green on Android devices #jira UE-34469 Change 3150102 on 2016/10/04 by Jack.Porter Bring Protostar 4.13 fixes back to Dev-Mobile Engine - MaxDescriptorSets = 16384 to prevent crash on Mali - Include texture formats in FRenderTargetLayoutHashableStruct to solve RT aliasing issue - Use ERenderTargetLoadAction::EClear for planar reflection target to work around Adreno issue - Default Adreno to SPIR-V Contents - Disable fog, reduce CSM shadow quality, fix device profiles - Add PSO cache Change 3150113 on 2016/10/04 by Jack.Porter Ensure automation testing screenshots have Alpha=255 (fixes automation screenshots on Mobile) Change 3150231 on 2016/10/04 by Jack.Porter Use a new SessionID GUID each time you use the launcher to launch a session. Change 3150608 on 2016/10/04 by Jack.Porter Changes for automated testing screenshots on Android. - Prevent automation screenshots from changing resolution on platforms with fixed resolution - Set GRHIAdapterInternalDriverVersion for OpenGL and Vulkan - Parse ImgTec/ARM/Qualcomm GRHIVendorId on OpenGL - Added helper to convert GRHIVendorId to string Change 3151318 on 2016/10/04 by Jack.Porter Fixed compile error with AdapterVendor Change 3151366 on 2016/10/04 by Jack.Porter Prevent FTcpMessageTransportConnection deadlock on device disconnect Change 3151397 on 2016/10/05 by Dmitriy.Dyomin More consistent BP categories for Mobile Patching utils Change 3151576 on 2016/10/05 by Dmitriy.Dyomin Added on screen warning for invalid reflection captures, can be seen only in game running with FeatureLevel < SM4 and no valid capture data Change 3151795 on 2016/10/05 by Dmitry.Rekman Linux: update UBT to use a v8 multiarch toolchain. - Also added toolchain build scripts and ct-ng configs. Change 3151966 on 2016/10/05 by Allan.Bentham Add mobile support for inverse opacity to mobile scene captures as well as SCS_SceneColorSceneDepth and SCS_SceneDepth. #jira UEMOB-106 Change 3152664 on 2016/10/05 by Chris.Babcock Merging //UE4/Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3152675 on 2016/10/05 by Will.Fissler Fixed patching so that it searches for pak files as well as pkg files. #test Patch for QAGame Change 3152728 on 2016/10/05 by Chris.Babcock Update ReflectionCaptureDDCVer (need to resave maps) Change 3152910 on 2016/10/05 by Dmitry.Rekman Linux: Fix toolchain for non-AutoSDKs (github) case (UE-36899). Change 3152966 on 2016/10/05 by Dmitry.Rekman Linux: Fix test for the installed SDK (UE-36899). Change 3153004 on 2016/10/05 by Dmitry.Rekman Linux: fix CIS (UT server case-sens errors). Change 3153694 on 2016/10/06 by Jack.Porter Rollback ReflectionCaptureDDCVer change as bug intended to fix UE-36919 does not repro Change 3154766 on 2016/10/07 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3154833 on 2016/10/07 by Jack.Porter Fix merge error of MobileShadingRenderer.cpp Change 3154848 on 2016/10/07 by Allan.Bentham Fix mobile scene capture's clear code Change 3154875 on 2016/10/07 by Allan.Bentham fix vk build issues Change 3154941 on 2016/10/07 by Allan.Bentham Fix gearvr build fail Change 3154950 on 2016/10/07 by Allan.Bentham Fix shadowed local variable vk build warning on android. Change 3155909 on 2016/10/07 by Ben.Marsh UBT: Attempt to work around C1076 error ("internal heap limit reached: use /Zm to specify a higher limit"), encountered when building with XGE. Specify the AutoReserveMemory attribute on XGE tool tasks that manipulate precompiled headers. [CL 3155988 by Chris Babcock in Main branch]
2016-10-07 23:11:00 -04:00
bHasPositionUpdated(false),
SL_PlayerObject(NULL),
SL_PlayerPlayInterface(NULL),
SL_PlayerBufferQueue(NULL),
SL_VolumeInterface(NULL),
RealtimeAsyncTask(NULL)
{
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
Buffer = NULL;
FMemory::Memzero( AudioBuffers, sizeof( AudioBuffers ) );
}
/**
* Clean up any hardware referenced by the sound source
*/
FSLESSoundSource::~FSLESSoundSource( void )
{
DestroyPlayer();
ReleaseResources();
}
void FSLESSoundSource::ReleaseResources()
{
if (RealtimeAsyncTask)
{
RealtimeAsyncTask->EnsureCompletion();
delete RealtimeAsyncTask;
RealtimeAsyncTask = nullptr;
}
FMemory::Free( AudioBuffers[0].AudioData);
FMemory::Free( AudioBuffers[1].AudioData);
FMemory::Memzero( AudioBuffers, sizeof( AudioBuffers ) );
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
if (SLESBuffer && SLESBuffer->ResourceID == 0)
{
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
delete SLESBuffer;
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3235199 on 2016/12/14 by Joe.Barnes Fix new compile error for missing #define Change 3235340 on 2016/12/14 by Arciel.Rekman Linux: refactor of some PlatformMisc functions. - RootDir() removed since it was a no-op. - Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir. - Change by CengizT, Change 3237014 on 2016/12/15 by Michael.Trepka Fixed a crash in FChunkCacheWorker constructor Change 3238305 on 2016/12/16 by Josh.Adams - Added a None option to the FKey customization, unless the FKey property had NoClear on it Change 3240823 on 2016/12/20 by Josh.Stoddard Device profiles don't work for iPadPro 9.7 and 12.9 #jira UE-39943 Change 3241103 on 2016/12/20 by Alicia.Cano Android support from Visual Studio #jira UEPLAT-1421 #android Change 3241357 on 2016/12/20 by Chris.Babcock Add gameActivityOnNewIntentAddtions section to Android UPL #jira UE-38986 #PR #2969 #ue4 #android Change 3241941 on 2016/12/21 by Alicia.Cano Build Fix Change 3249832 on 2017/01/06 by Nick.Shin refetch on timed out GET/POST requests #jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure" Change 3249837 on 2017/01/06 by Nick.Shin black box issues fixed: use device pixel ratio during width and height checks and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3249988 on 2017/01/06 by Josh.Adams - Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread #jira UE-40305, UE-39291, UE-40113 Change 3253720 on 2017/01/11 by Josh.Adams - Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini - See SwitchRuntimeSettings.h / GetConfigOverridePlatform() - Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings). - See UObject::GetDefaultConfigFilename() - Updated some minor ShooterGame switch settings while cleaning this up Change 3254162 on 2017/01/11 by Daniel.Lamb Avoid trying to load empty package names. Fixed issue with iterative ini files being unparseable if they inlcude a colon in them. #jira UE-40257, UE-35001 #test Cook QAGame Change 3255309 on 2017/01/12 by Daniel.Lamb In the derived datacache commandlet wait for texture building to finish before we GC. #test DDC QAGame Change 3255311 on 2017/01/12 by Daniel.Lamb Removed debug logging for shader compilation. Issue hasn't occured in a while and the logging is annoying. #test Cook QAGame Change 3257024 on 2017/01/13 by Josh.Adams - Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook. #jira UE-38691 Change 3259636 on 2017/01/16 by Josh.Adams - Fixed split screen render issue with payer 2 getting no geometry #jira UE-40684 Change 3260159 on 2017/01/17 by Ben.Marsh Added extra logging when deleting a directory fails during ReconcileWorkspace. Change 3260300 on 2017/01/17 by Ben.Marsh More logging for cleaning workspaces. Change 3261056 on 2017/01/17 by Daniel.Lamb Cook on the fly builds now resolve string asset references. #test Trivial Change 3262803 on 2017/01/18 by Joe.Graf Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins Change 3262852 on 2017/01/18 by Joe.Graf Fixed the bad robomerge Don't try to regenerate projects when adding a content only plugin to a content only project Change 3264930 on 2017/01/19 by Joe.Barnes #include some header files needed when building UFE. Change 3265728 on 2017/01/20 by Will.Fissler PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content. Change 3267188 on 2017/01/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3267439 on 2017/01/22 by Arciel.Rekman Fix Dev-Platform build. - Fixed just to have it compile; perhaps a proper fix is needed. - Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one). Change 3267556 on 2017/01/23 by Arciel.Rekman Linux: fix MoveFile to work across file systems. - PR #3141 with slight changes. Change 3267843 on 2017/01/23 by Arciel.Rekman Remove name collision (macro vs libc++). - Redoing CL 3259310. Change 3267850 on 2017/01/23 by Arciel.Rekman Fix wrong always true condition. - PLATFORM_LINUX is always defined, but can be 0. Change 3268048 on 2017/01/23 by Daniel.Lamb Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear. #test Rebuild lighting Paragon Change 3268403 on 2017/01/23 by Josh.Adams #BUILDUPGRADENOTES - Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations) - Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS! Change 3272441 on 2017/01/25 by Chris.Babcock Fixed documentation error in UnrealPluginLanguage #ue4 #android Change 3272478 on 2017/01/25 by Chris.Babcock Fix another documentation error in UnrealPluginLanguage #ue4 Change 3272826 on 2017/01/25 by Chris.Babcock Google Cloud Messaging plugin for Android #jira UEPLAT-1458 #ue4 #android Change 3272839 on 2017/01/25 by Chris.Babcock Fix name of Google Cloud Messaging Sender ID #ue4 #android Change 3273837 on 2017/01/26 by Daniel.Lamb Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it. Instead crash as this is a loss of content situation. #test Cook paragon cook qagame Change 3274122 on 2017/01/26 by Alicia.Cano Runtime permissions support on Android - Removing certain permissions #jira UE-38512 #android Change 3274311 on 2017/01/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3274794 on 2017/01/27 by Arciel.Rekman Linux: fix installed SDK check (UE-40392). - Pull request #3111 by rubu. Change 3274803 on 2017/01/27 by Arciel.Rekman Linux: added few more exceptions to .gitignore (UE-39612). - Pull request #3026 by ardneran. Change 3276247 on 2017/01/27 by Nick.Shin HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer #jira UE-34753 Zen Garden cannot compile in HTML5 #jira UE-40815 Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'. Change 3276347 on 2017/01/27 by dan.reynolds Android Streaming Test Content Change 3276682 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - fix up what looks like a bad merge - allow linux to also build these libs - fixed harfbuzz to use freetype2-2.6 when building HTML5 libs - tested on mac, linux, and windows (git-bash) Change 3276796 on 2017/01/29 by Nick.Shin HTML5 thirdparty (python) build scripts - linux patches from mozilla's jukka - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3276803 on 2017/01/29 by Nick.Shin HTML5 thirdparty build scripts - getting ready to build with (new toolchain that has) wasm support - minor fix to handle whitespace in project path - tested on mac and, linux, and windows (git-bash) part of: #jira UEPLAT-1437 (4.16) Switch [to] web assembly Change 3278007 on 2017/01/30 by Arciel.Rekman SteamVR: whitelist for Linux. - Makes Blueprint functions available in Linux builds, even if stubbed. - Can be probably whitelisted for Mac too. Change 3278172 on 2017/01/30 by Arciel.Rekman Do not rebuild UnrealPak locally (UE-41285). Change 3279873 on 2017/01/31 by Brent.Pease + Implement streaming in Vorbis + Add streaming to Android audio + Fix audio streaming chunk race condition Change 3280063 on 2017/01/31 by Brent.Pease GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices #2949 #jira UE-38829 Change 3280072 on 2017/01/31 by Brent.Pease PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan) https://github.com/EpicGames/UnrealEngine/pull/2889 #jira ue-37874 #2889 Change 3280091 on 2017/01/31 by Arciel.Rekman Linux: fix "unable to make writable" toast (UE-37228). - Also fixed other platforms that returned inverted the error result. Change 3280624 on 2017/01/31 by Brent.Pease PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal) https://github.com/EpicGames/UnrealEngine/pull/2891 #2891 #jira ue-37891 Change 3280625 on 2017/01/31 by Brent.Pease GitHub 2576 - Fix UIImagePickerController crash #2576 #jira UE-328888 Change 3281618 on 2017/02/01 by Josh.Adams - Fixed hopeful compile error with missing inlcude #jira UE-41415 Change 3282277 on 2017/02/01 by Josh.Adams - Support 0.12.16 and 1.1.1 (the first versions that can share Oasis) Change 3282441 on 2017/02/01 by Arciel.Rekman Fix Linux editor splash screen (UE-28123). Change 3282580 on 2017/02/01 by Nick.Shin HTML5 - fix "firefox nighly" issue with: failed to compile wasm module: CompileError: at offset XXX: initial memory size too big: WARNING: this greatly impacts (in browser) compile times Change 3285991 on 2017/02/03 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3286406 on 2017/02/03 by Chris.Babcock Save and restore texture filtering for movie playback in all cases #jira UE-41565 #ue4 #android Change 3286800 on 2017/02/04 by Chris.Babcock Fix executable path for stripping Android debug symbols (handle non-Windows properly) #jira UE-41238 #ue4 #android Change 3288598 on 2017/02/06 by Arciel.Rekman CodeLite fixes. - Use *-Linux-Debug binary for Debug configuration. - Fix virtual paths. Change 3288864 on 2017/02/06 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) - Note, Switch is known to not boot with this, fix coming next Change 3289364 on 2017/02/06 by Josh.Adams [BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string. - Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files - This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects) - Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information - Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure. - Added FConfigFile::GetArray (previous was only on FConfigCacheIni) Change 3289796 on 2017/02/07 by Arciel.Rekman Linux: remove leftover CEF build script. Change 3289872 on 2017/02/07 by Arciel.Rekman Linux: install MIME types (UE-40954). - Pull request #3154 by RicardoEPRodrigues. Change 3289915 on 2017/02/07 by Josh.Adams - Fixed CIS warnings Change 3289916 on 2017/02/07 by Arciel.Rekman Linux: remove -opengl4 from the default invocation. Change 3290009 on 2017/02/07 by Gil.Gribb UE4 - Fixed boot time EDL causing some issues even when it wasn't being used. Change 3290120 on 2017/02/07 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3290948 on 2017/02/07 by Arciel.Rekman Linux: fix crash when clicking on question mark (UE-41634). - Symbol interposition problem (proper fix is still to be investigated). (Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform) Change 3291074 on 2017/02/07 by Arciel.Rekman Speculative build fix. Change 3292028 on 2017/02/08 by Josh.Adams - Fixed Incremental CIS build failures Change 3292105 on 2017/02/08 by Nick.Shin emcc.py - change warning to info #jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings Change 3292201 on 2017/02/08 by JohnHenry.Carawon Change comment to fix XML warning when generating project files on Linux Change 3292242 on 2017/02/08 by Arciel.Rekman Linux: avoid unnecessary dependency on CEF (UE-41634). - Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets). - Also disable CEF compilation for ShaderCompileWorker. - Based on CL 3292077 in 4.15. Change 3292559 on 2017/02/08 by Josh.Adams - Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES) Change 3294333 on 2017/02/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3294506 on 2017/02/09 by Josh.Adams - Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire #jira UE-41710 Change 3294984 on 2017/02/09 by Josh.Adams - Worked around the remote compiling issue with code-based projects on a different drive than the engine #jira UE-41704 Change 3295056 on 2017/02/09 by Josh.Adams - Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename Change 3295161 on 2017/02/09 by Josh.Adams - Fixed new bug when buildin native ios that was caused by a remote compile break Change 3295229 on 2017/02/09 by Josh.Adams - Fixed a crash in clothing on platforms that don't support clothing #jira UE-41830 [CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
SLESBuffer = nullptr;
Buffer = nullptr;
}
/**
* Updates the source specific parameter like e.g. volume and pitch based on the associated
* wave instance.
*/
void FSLESSoundSource::Update( void )
{
SCOPE_CYCLE_COUNTER( STAT_AudioUpdateSources );
if( !WaveInstance || Paused )
{
return;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3198622) #rb None #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3182087 on 2016/11/01 by Lina.Halper PR #2328: fix morph target weight application order. (Contributed by tmiv) - changed order of morphtarget application to be animation and THEN SetMorphTarget - made sure you could clear the weight also if SetMorphTarget to be 0.f #jira: UE-29999 Change 3182090 on 2016/11/01 by Lina.Halper Fix issue where import doesn't display any message when import type hasn't been detected Change 3182123 on 2016/11/01 by Wes.Hunt ensure the EngineAnalytics singleton is not being held onto by someone else during engine shutdown. Change 3182177 on 2016/11/01 by Lina.Halper Fix not being able to modify Joint Target Location in detail panel #jira: UE-30900 Change 3182181 on 2016/11/01 by Ben.Zeigler Add UGameplayTagsManager::AddNativeGameplayTag to allow registering tags directly from native code. This stops them from being deleteable in the editor, and will register them even if they don't exist elsewhere Change internal games to use this to register their native tags. The explicit call to be done adding native tags is not required, it happens on engine post init Some header cleanup Change 3182876 on 2016/11/02 by Danny.Bouimad Moving files Change 3182912 on 2016/11/02 by Thomas.Sarkanen Added access to the viewport client from IPersonaViewport Allows systems to hook into the state of the client. #jira UE-36549 - Need to access the current viewmode in FPersonaMeshDetails Change 3182927 on 2016/11/02 by Thomas.Sarkanen Initially select current asset in the asset family shortcut bar dropdown #jira UE-35532 - Animation dropdown submenu doesn't highlight currently selected object, where as the asset browser does Change 3182970 on 2016/11/02 by Lukasz.Furman CIS fix for gameplay debugger copy of CL# 3165005 Change 3183123 on 2016/11/02 by Mieszko.Zielinski Fixed changing AreaClass of NavLinkProxy point links not having any effect on navmesh generation #UE4 Change 3183310 on 2016/11/02 by Jurre.deBaare Blendspace changes: - Moved MarkerSync code from BlendSpaceBase.cpp to BlendSpaceUtilities.h/cpp - Re-ordered blendspace.h/cpp - const correctness where possible - Removed unused code paths - Wrapped non-runtime code paths in WITH_EDITOR Blendspace editor refactor: - Moved element generators into respective AnimationBlendSpaceHelpers.h/cpp - New Grid Widget class - Simplified Blendspace(1D) editors, most things are handled within SAnimationBlendSpaceBase - SBlendSpaceGridWidget handles visualization and UI interaction (modifying blendspace is done through parent SAnimationBlendSpaceBase) Change 3183344 on 2016/11/02 by James.Golding UEFW-181 : Move PhysX vehicle support to a plugin - Added FPhysicsDelegates for several useful global physics delegates (OnUpdatePhysXMaterial, OnPhysicsAssetChanged, OnPhysSceneInit, OnPhysSceneTerm) - Added OnPhysScenePreTick and OnPhysSceneStep delegates to FPhysScene - TireType is now deprecated, just kept in Engine for backwards compat. TireConfig in PhysXVehicles plugin is new structure - Added 'ConvertTireTypes' editor console util which creates TireConfig's from TireTypes's (using asset registry) and PhysicalMaterials, and updates any VehicleWheel BPs Change 3183351 on 2016/11/02 by Ben.Zeigler Add utility functions to convert from export text versions of tag and container, which is useful when reading tags out of the asset registry Change 3183354 on 2016/11/02 by Ben.Zeigler Change fortnite to use new GameplayTag functions to parse tags in the asset registry to avoid bad stall while checking mission requirements. This only works once the mission infos have been resaved Change 3183383 on 2016/11/02 by Thomas.Sarkanen Persona camera fixes Dont reset the camera all the time when setting skeletal meshes (we only do this the first time now). Add shortcuts to focus the camera using 'F' key from the skeleton tree (or anywhere else that wants to). Also add a menu option to the viewport to make this more discoverable. Shortcut is now handles by the viewport widget instead of the client (as this is how other viewports handle it). #jira UE-36458 - Stop camera from resetting when doing undo or redo in persona animation editor Change 3183409 on 2016/11/02 by Jon.Nabozny #rn Allow MAX_ARRAY_SIZE and MAX_ARRAY_MEMORY from RepLayout to be user configurable. #jira UE-35660 Change 3183625 on 2016/11/02 by James.Golding Hopeful fix for Mac CIS issue in PhysXVehiclesEditor Change 3183652 on 2016/11/02 by Ben.Zeigler Fix issue where commonly replicated tags didn't work if load from ini was turned off. Fix it so gameplay tag tree is always fully sorted alphabetically, instead of only the root tags being sorted. Change 3183856 on 2016/11/02 by Richard.Hinckley #jira UEDOC-4006 Editing GameMode and GameState documentation (in Framework branch). Change 3183902 on 2016/11/02 by Mieszko.Zielinski Fixed EQS debug drawing not showing item labels #UE4 Proper implementation of CL#3183899 #jira UE-38122 Change 3183996 on 2016/11/02 by Jon.Nabozny Fix DefaultMaxRepArrayMemory value to be UINT16_MAX (65535). Was previously set to 64 * 1024 = 65536. Change 3184129 on 2016/11/02 by Ben.Zeigler #jira UE-38022 Move GameplayAbilities to a plugin. Remove GameplayAbilitiesEditorEnabled ini setting, instead enable the "GameplayAbilities" plugin in your uproject if you want abilities, it's disabled by default #jira UE-6947 Remove GameplayAbilityBlueprintGeneratedClass as it's not needed and was only being used half the time #jira UE-19427 Fix incorrect usage of WorldContextObject in ability tasks to instead be OwningAbility, as it would crash if used on anything other than a gameplay ability object Change 3184130 on 2016/11/02 by Ben.Zeigler Internal game fixups for moving gameplayabilities to a plugin Change 3184469 on 2016/11/02 by Ben.Zeigler Change abilities plugin to be more obviously unsupported Change 3184565 on 2016/11/02 by dan.reynolds AEOverview update with HRTF test map Change 3184800 on 2016/11/03 by Thomas.Sarkanen Added "Show Selected and Parents" to bone display options Also fixed mis-named menu section. #jira UE-35375 - Add 'selected bone and parents' option to Persona viewport Change 3184810 on 2016/11/03 by James.Golding Remove WoflPlat PhysX 3.3 and Apex 1.3 files Change 3184817 on 2016/11/03 by Thomas.Sarkanen Added facial animation support Added curve table to sound wave (internal or external). Added UI support for manipulating these. Improved curve table editor. - Editor can now display curves as well as tables. - Sparse keys are now properly supported (where keys are not presnet at some times in some curves). Added curve source interface. Added external curve node. This allows any component or actor (BP or native) that implements ICurveSourceInterface to drive curves. Added new audio component that can also provide curves. This handles the preroll delay (approx 0.4 seconds, depending on audio) so the mouth can open before audio is played. Added bulk importer plugin. This imports audio & FBX files and builds cuirve data into SoundWave assets. - Adapted exisitng FBX curve import slightly to use FRichCurves rather than FFloatCurves. - Added new support for importing curves to a curve table. Added preview of audio to Persona. - Added display, filtering and playback of sound waves from the anim sequence browser. - Audio playback with curves routed to animation now works with anim blueprints and pose assets (as we need a pose asset to preview poses!) - Persona now uses an Actor rather than disparate components. - Added overrides for AddComponent and RemoveComponent to make sure actor is hooked up correctly. - Preview scene can now be manipulated by plugins etc. using a delegate when it is created. - Single anim instance has been slightly re-worked to do its update and evaluate logic inside of a local anim node. This allows derived classes to build functionality up component-wise by adding new nodes to the 'graph'. #jira UEFW-7 - Routing Sound Curves to AnimBP #jira UEFW-5 - Support importing curves #jira UE-37950 - Spawn preview actor in animation editor Change 3184837 on 2016/11/03 by James.Golding PR #2896: Fix FVehicleAnimInstanceProxy::PreUpdate not calling FFAnimInstanceProxy's PreUpdate (Contributed by DenizPiri) #jira UE-37978 Change 3184847 on 2016/11/03 by Thomas.Sarkanen Fixed editor shutdown crash Dont try to save config when UObjects are all gone. Change 3184853 on 2016/11/03 by James.Golding Stop Engine module linking against PhysX vehicle lib, link that into PhysXVehicles plugin instead. Change 3184884 on 2016/11/03 by Thomas.Sarkanen Anim Blueprint thread safety is now checked in the compiler Added new metadata keys for classes and functions to describe their thread safety. Added extra warnings in the anim BP compiler based around these new keys to help people catch suspect thread usage. Expanded the compiler erorr reporting to allow for extra rich message tokens to be appended (for documentation etc.). Improved BP error reporting: Now we display the actual node name instead of CallFunction_0 etc. CVar forcing multithreaded update is now defaulted to off. Projects now by default enable it but can more easily opt-out. #doc Added link to new section of AnimGraph page, which may benefit from images etc. #jira UE-28283 - Look into expanding the system to determine what nodes we allow to run on worker threads. Change 3184886 on 2016/11/03 by Thomas.Sarkanen Content fixes for anim BP thread safety warnings Ocean: Random Float node is unsafe (uses rand() unde rthe hood) so replaced with Random Stream. Odin: Flying Bot accessed the character blueprint inside some transitions. Cached the value in the event graph instead. Fortnite: Disable threaded update for a number of anim BPs as they were using unsafe calls when using CopyPoseFromMesh Change 3184894 on 2016/11/03 by Thomas.Sarkanen Fix Mac CIS Change 3184951 on 2016/11/03 by Thomas.Sarkanen Fix CIS warning on clang platforms Change 3185176 on 2016/11/03 by James.Golding Hopeful fix for building PhysXVehicles plugin for mac Change 3185289 on 2016/11/03 by Alex.Delesky #jira UE-37773 - Updating the Gameplay Tags UI to allow for the following: -Addition of a tag with comments and a specific INI location -An "Add Subtag" button that will allow the user to create a tag underneath a specified parent that autofills most of the information (parent name and location) for the new tag -A dropdown menu to allow for additional actions to be performed on a tag (rename, delete, search for references) -Comments for gameplay tags now show up in the tooltip forthe tag rather than the tag name if one had been specified -Shows a tree in the Project Settings window when viewing the gameplay tag list instead of an array Change 3185331 on 2016/11/03 by Marc.Audy Remove duplicated condition from if Change 3185426 on 2016/11/03 by James.Golding Another attempt at fixing mac builds of PhysXVehicles plugin Change 3185487 on 2016/11/03 by James.Golding - Remove TireType assets from templates/sample, add TireConfigs instead - Make deprecated vehicle vars visible (but not editable), to help converting content - Change icon for PhysX vehicle plugin Change 3185520 on 2016/11/03 by James.Golding Trying yet again to fix Mac CIS! Change 3185542 on 2016/11/03 by Ben.Zeigler #jira UE-34086 Commit modified version of PR #2665 to allow overriding crouch behavior in subclasses of CharacterMovementComponent #jira UE-35652 Fix crouch behavior to not change capsule until after uncroach check, to avoid causing unnecessary physics side effects Also had to set the TeleportPhysics flag in this case, so add code to remember if a teleport was attempted during a deferred movement, and then apply that flag during EndScopedMovementUpdate Change 3185570 on 2016/11/03 by Marc.Audy Protect against theoretical crash introduced in CL# 2049861 if CreatePackage returns null. Remove some autos Change 3185749 on 2016/11/03 by dan.reynolds AEOverview test map addition: testing Virtual Voice Change 3185946 on 2016/11/03 by dan.reynolds AEOverview tweaks - clarified success conditions for Streaming Spam and Streaming Priority maps Change 3185972 on 2016/11/03 by Lina.Halper Fix issue with offset of attachment getting messed up because parent doesn't tick the animation correctly when opening level from Content Browser #jira: UE-31890 #code review: Thomas.Sarkanen Change 3186043 on 2016/11/03 by Alex.Delesky #jira UE-37773 - Fixing some of the gameplay tags UI based on feedback -Right-aligned input fields for the AddNewGameplayTag and RenameGameplayTag widgets -Added a divider to the GameplayTag widget that will appear when the AddNewGameplayTag widget is visible -Tags with comments will now display both their name and their comment in tooltips Change 3186207 on 2016/11/03 by Alex.Delesky #jira UE-37773 - The Gameplay Tags widget in the project browser will no longer display the disabled checkboxes and disabled text for the tag names Change 3186321 on 2016/11/03 by Dan.Reynolds Removed deprecated test asset (BP_ProceduralSoundWaveTest) Change 3186740 on 2016/11/04 by Thomas.Sarkanen Removed FPersona and supporting classes Also removed UMorphTarget's asset type actions (as it was nearly empty and we dont use them as assets any more). #jira UEFW-222 - Remove FPersona Change 3186741 on 2016/11/04 by Thomas.Sarkanen Fix non-unity builds Change 3186755 on 2016/11/04 by Thomas.Sarkanen Prevent adding keys to read-only curves in curve tables Lock off the shift-LMB shortcut to add keys #jira UE-38210 - Crash trying to add a key to a curve table in curve view Change 3186798 on 2016/11/04 by James.Golding UE-37503 - Add FHitResult output to K2_LineTraceComponent Change 3186800 on 2016/11/04 by James.Golding - Remove deprecated collision functions in KismetSystemLibrary - Remove _NEW from collision function names, add redirectors - Add debug draw options (TraceColor, TraceHitColor, DrawTime) to shape traces, to match line traces (UE-35941) Change 3186989 on 2016/11/04 by James.Golding Fix CIS fail in Fortnte Change 3187081 on 2016/11/04 by Wes.Hunt EngineAnalytics::Shutdown now checks to see if the Analytics pointer is null OR unique before ensuring. #jira UE-38125 Change 3187135 on 2016/11/04 by Jurre.deBaare Fix for incorrect framework version in blendspace serialization code. Change 3187682 on 2016/11/04 by Ben.Zeigler #jira UE-38289 Fix crash when replicated tag array is empty Change 3188113 on 2016/11/05 by Mieszko.Zielinski Removed a bunch of deprecated AI module functions #UE4 Cut-off point at v4.10 Change 3188119 on 2016/11/05 by Mieszko.Zielinski Deprecated AI functionality removal fallout fixes #UE4 Change 3188121 on 2016/11/05 by Mieszko.Zielinski PR #2883: Added a Cone EQS Generator (Contributed by orfeasel) Did some massaging on change. #jira UE-37685 Change 3188122 on 2016/11/05 by Mieszko.Zielinski Bumped EnvQueryGenerator_Cone.AlignedPointsDistance's default value up to 100, which makes a bit more sense #UE4 Change 3188442 on 2016/11/07 by James.Golding Check in trace debug draw test map Change 3188463 on 2016/11/07 by james.cobbett Submitting Pose Snapshot test map and asset Change 3188618 on 2016/11/07 by Thomas.Sarkanen Expanded pose snapshot system Allows poses to be stored in variables. Split FPoseSnapshot from FAnimInstanceProxy and made it a BlueprintType USTRUCT. Added modes to FAnimNode_PoseSnapshot so that we can either use the named pose or a FPoseSnapshot variable pin. Moved pose snapshot code into USkeletalMeshComponent as it doesnt need to be on the proxy any more. #jira UEFW-242 - Caching poses to a Blueprint variable (and an anim node to use it with) Change 3188619 on 2016/11/07 by Thomas.Sarkanen Moved "NoResetToDefaults" to the correct metadata section in ObjectMacros.h Change 3188642 on 2016/11/07 by Thomas.Sarkanen Added new test for pose variables Change 3188716 on 2016/11/07 by Ben.Zeigler #jira UE-38294 Fix bad error message when adding new DefaultGameplayTags.ini file Change 3189020 on 2016/11/07 by dan.reynolds Added a test map for Audio Volume Ambient Zone test for Play Sound at Location AVOverviewAZPlaySoundAtLocation Change 3189188 on 2016/11/07 by Jon.Nabozny Fix edge cases / alternate IPv6 formats in IPAddressBSDIPv6::SetIp. #jira UE-36607 Change 3189199 on 2016/11/07 by Jon.Nabozny Flag UActorComponent, USceneComponent, and UPrimitiveComponent UFUNCTIONS as UnsafeDuringActorConstruction="true" if they modify unreplicated properties, require use of the PhysScene, or otherwise indicate poor design. #jira UE-33038 Change 3189271 on 2016/11/07 by Aaron.McLeran UEFW-224 Refectoring UnrealEd code to move all audio related editing code to a new AudioEditor module - Fixups for removals - Several bug fixes for sound classes Change 3189450 on 2016/11/07 by Aaron.McLeran Fixes for facial animation playback progress - Creating a per-source PlaybackTime which can be used to get a fairly accurate playback percentage function for all platforms. - Allowing platforms to override to get a "sample accurate" playback time for platforms that are able. Change 3189507 on 2016/11/07 by Wes.Hunt * Deprecated GetUniqueDeviceId. Use GetDeviceId now instead. #jira AN-820 * Added warnings to each implementation of GetDeviceId as to what API it uses, and what cert requirements may be placed on it. * Deprecated all platform independent usages of GetMacAddress and related functions. #jira AN-820 #jira AN-802 * Deprecated GetMachineId. Use GetLoginId now instead. #jira AN-811 * Update usages of MachineID throughout CrashReporter code. Left MachineId and LoginId as available attributes. * Removed LocalPlayer requirement for setting the Analytics UserId in internal products. Removed fallbacks for seting UserId for internal products. #jira AN-814 #jira AN-808 * Removed GetUniqueDeviceId code from LauncherInstaller. * Removed redundant MachineID and AccountID from Editor.ProgramStarted analytics event. * Removed DeviceID from SessionStart analytics event. #FYI: justin.sargent, Chris.Wood, Wes.Fudala * Justin, reminder that FPortalRpcResponderFactory::Create will need to start using GetLoginID instead of MacAddress for IPC identifiers. * Chris, look over CRP code to ensure that I didn't destroy some vital bit of necessary connection with the MachineId->LoginId name change. Both values are used, and for now, they both return the same thing. * Wes, we didn't need GetUnqiueDeviceId attribute in BeginSession, as no one ever uses it, so I just removed it. Change 3190032 on 2016/11/08 by Wes.Hunt Fix a few places I forgot to deprecate regarding GetMacAddress. Change 3190107 on 2016/11/08 by Wes.Hunt Another attempt to remove deprecation warning in CIS. Apparently removing the warning for a const string initialized via a consrtuctor with a deprecated function is somewhat tricky. Still not sure why it works on my machine either way. Change 3190326 on 2016/11/08 by Aaron.McLeran Fixing CIS build warning Change 3190495 on 2016/11/08 by Jon.Nabozny Fix OSSNull server / session filtering to better match SessionSettings and online OSS. Make MCP, Steam, and Null LAN queries more consistent. #jira UE-37512 Change 3190566 on 2016/11/08 by Martin.Wilson Remove warning on Least Destructive (was incorrectly applied to least destructive due to legacy reasons) #jira UE-27323 Change 3190631 on 2016/11/08 by Martin.Wilson Fix notify validation not triggering when using set time/set frame context menu options #jira UE-37857 Change 3190666 on 2016/11/08 by Martin.Wilson Add info about anim instance to additive warning #jira UE-35930 Change 3191290 on 2016/11/09 by Thomas.Sarkanen Fix skeleton tree selection disappearing when filtering changes Note: Copying //Tasks/UE4/Dev-UEFW132-PhATUpgrade to Dev-Framework (//UE4/Dev-Framework) Split SSkeletonTree into multiple files Items now derive from the common base class ISkeletonTreeItem. New skeleton tree item RTTI added modlled on the drag/drop RTTI. Filtering is now performed independently of tree building. Filtering and building are more extensible (more of this to come). Item selection is now preserved on filter change. Filtering now (optionally) keeps the hierarchy in place. #jira UE-31017 - Skeleton Selection is Lost When Changing Filters Change 3191325 on 2016/11/09 by Thomas.Sarkanen Fix clang CIS Change 3191344 on 2016/11/09 by Thomas.Sarkanen More clang CIS fixes Change 3191345 on 2016/11/09 by Thomas.Sarkanen CIS fix: Missed another enum fwd declaration Change 3191374 on 2016/11/09 by Thomas.Sarkanen Remove 4.11 deprecated functions from animation systems Also deprecate NativeUpdateAnimation_WorkerThread as users should no longer be calling this function (it is not run on worker threads anyways). #jira UE-35748 - Clean up 4.11 Deprecated functions Change 3191375 on 2016/11/09 by Thomas.Sarkanen Fixup Orion hero instance after deprecation Change 3191739 on 2016/11/09 by Marc.Audy PhysX Vehicle plugin needs to be loaded with -game as well, so it must be Developer, not Editor. Change 3191827 on 2016/11/09 by Marc.Audy Raw Input plugin allowing support of steering wheels and flightsticks #jira UEFW-237 Change 3191828 on 2016/11/09 by Ben.Zeigler #jira UE-38384 Comment cleanup for gameplay tag library Change 3191889 on 2016/11/09 by Ben.Zeigler #jira UE-38294 Fix issues with trying to set not-yet-written settings files as writable and add them to source control If a settings file does not yet exist on disk, also try adding to source control after writing it Change 3191911 on 2016/11/09 by Marc.Audy Enable raw input plugin and configure for use with the Logitech G920 all vehicle templates and vehicle game. #jira UEFW-237 Change 3191915 on 2016/11/09 by Marc.Audy Provide useful tooltips for raw input setting properties #jira UEFW-237 Change 3192039 on 2016/11/09 by dan.reynolds AEOverview Update - Added a map for checking multi-channel file playback: AEOverviewMultichannel.umap - Incorporated AVOverviewAZPlaySoundAtLocation test into the AEOverviewMain submap list temporarily for testing purposes Change 3192059 on 2016/11/09 by Martin.Wilson Fix montage thumbnail rendering with ref pose #jira UE-35578 Change 3192065 on 2016/11/09 by Martin.Wilson Widen bone reference widget to give a better view of the name and added full name to tooltip #jira UE-36264 Change 3192217 on 2016/11/09 by Martin.Wilson Auto selected current bone when opening bone reference tree #Jira UE-36264 Change 3192332 on 2016/11/09 by Marc.Audy Fix RawInput compiling when WITH_EDITOR is false #jira UE-38433 Change 3193061 on 2016/11/10 by Thomas.Sarkanen Marked facial animation plugin & component as experimental/beta Change 3193072 on 2016/11/10 by Martin.Wilson Correct reference skeleton fix up order Change 3193112 on 2016/11/10 by Danny.Bouimad Pesudo hair asset usintphat for testing Change 3193243 on 2016/11/10 by Martin.Wilson Fix removal of USkeleton bone tree entries #Jira UE-37363 Change 3193249 on 2016/11/10 by Marc.Audy Raw input compile fixes: Fix additional not with_editor compile issues Fix static analysis warnings #jira UE-38433 Change 3193558 on 2016/11/10 by Martin.Wilson Move "Number of Curves" label creation to attribute so that it updates dynamically #jira UE-26767 Change 3193664 on 2016/11/10 by Marc.Audy PR #2919: Fixed Comment Typo in ActorComponent.cpp (Contributed by KumaKing) #jira UE-38436 Change 3193719 on 2016/11/10 by Lukasz.Furman fixed vertical jitter in replicated NavWalking movement #jira UE-33260 Change 3193802 on 2016/11/10 by Marc.Audy Remove some autos, fix NULL to nullptr, call GetWorld just once Change 3193809 on 2016/11/10 by Marc.Audy Fix Mac CIS compile error #jira UE-38501 Change 3194053 on 2016/11/10 by Aaron.McLeran Fixed crash on shutdown when using audio mixer - Switching audio mixer to use a runnable thread rather than async tasks - Fixed issue where audio buffers weren't taking ownership of wave data Change 3194057 on 2016/11/10 by Aaron.McLeran Adjusting channel mapping code to better support standard down-mixing for 2D multi-channel files. - Added support for 8 channel source files. Change 3194070 on 2016/11/10 by Aaron.McLeran Fixing stupid compile error Change 3194779 on 2016/11/11 by Jon.Nabozny Fixed UnsafeDuringActorConstruction tag on USceneComponent::GetPhysicsVolume. Missed the '=true' portion. Change 3194967 on 2016/11/11 by Mieszko.Zielinski PR #2920: Bug Fix: fix pasting Behavior Tree nodes with decorators in wrong position (Contributed by BrettKercher) #jira UE-38443 #jira UE-30906 Change 3195741 on 2016/11/11 by Ben.Zeigler #UE-38539 Stop Orion from reinitializing it's native tag dictionary when reloading menu, this was just slow before but now ensures Change 3196655 on 2016/11/14 by Marc.Audy Remove pointless remove/adds from Odin DefaultEngine.ini. This also fixes the duplicate redirector of AnimNode_WheelHandler as the version in BaseEngine.ini has been changed where it points to #jira UE-38562 Change 3196678 on 2016/11/14 by Lukasz.Furman pass on gameplay debugger's EQS category copy of CL# 3195071, 3195152, 3196617 with local fixes Change 3196700 on 2016/11/14 by Ben.Zeigler #jira UE-38539 Move where orion tags are initialized to earlier in the startup for all loading flows Change 3196719 on 2016/11/14 by Thomas.Sarkanen Added extra output to anim BP compiler when a blueprint function call is used This allows us to give more info to users when unsafe things (like blueprint functions) are used. Change 3196799 on 2016/11/14 by Jurre.deBaare Fix for blendspace tooltip crash #fix Check before dereferencing animation ptr on samples :) Change 3196971 on 2016/11/14 by Lukasz.Furman replaced hardcoded value for pathfollowing's focal point distance with a parameter #ue4 Change 3196994 on 2016/11/14 by Marc.Audy Slightly improve performance of boolean check Change 3197768 on 2016/11/14 by dan.reynolds AEOverview Stage 2 WIP - Added Command Line auto sub-level loading (-AELoadMap=MapName01,MapName02,etc.) or sub-level categories auto loading (-AELoadCat=AE,SC,STRM,AV,etc.) - Added Categorization menu to Main staging map to help sorting maps by category - Changed menu to be dynamically loaded from editable Data Structure Arrays, so all the menu information is loaded dynamically. Change 3197782 on 2016/11/14 by dan.reynolds AEOverview Stage 2 WIP - fixed misnamed sub-level reference, cleaned up some of the BP Change 3197801 on 2016/11/14 by dan.reynolds AEOverviewMain Stage 2 WIP: - Added Select All Buttom to select all loaded menu items Change 3197988 on 2016/11/15 by Thomas.Sarkanen Add the ability to use incompatible meshes with snapshots We now use a name-based mapping to copy local poses to the correct bones in the hierarchy, similar to CopyPoseFromMesh. No access to UObjects (components or meshes) is performed on worker threads. Bone names are all cached on the game thread when needed and used on worker threads. #jira UE-38413 - Pose snapshot cannot be used across meshes with different hierarchies Change 3198062 on 2016/11/15 by Thomas.Sarkanen Disabled threaded update on various anim blueprints to remove cook warnings #jira UE-38537 - Cooking FortniteGame results in warnings Change 3198071 on 2016/11/15 by Thomas.Sarkanen Fix default values not being available to change post anim BP compilation Make sure we re-select with force refresh on so the details panel is rebuilt even if the objects are the same (as the customization relies upon it). #jira UE-38518 - Animation Blueprint: Default values cannot be changed after compiling if node is currently selected Change 3198082 on 2016/11/15 by Jurre.deBaare CRASH If the Vertical Axis of a blendspace is set to 0 segments when an animation is on the blendspace the editor crashes #fix UI and ClampMin to 1 #jira UE-38587 Change 3198138 on 2016/11/15 by Thomas.Sarkanen Expose montage functions to Blueprint Made sure to flag appropriate functions as not thread safe. Also const-corrected a few functions that should be. Github #2918: Blueprint Callable Montage Set/Get Position #jira UE-38391 - GitHub 2918 : Blueprint Callable Montage Set/Get Position Change 3198141 on 2016/11/15 by Jurre.deBaare Crash from generated Merged Actor with no created lightmap UV #fix Always flag UV channel 0 to be occupied #jira UE-38520 Change 3198420 on 2016/11/15 by Thomas.Sarkanen Move thread-safety check flags to the UAnimBlueprint Then have the compiler propogate the flags to the CDO. Prevents issues where the old CDO wasnt propgated during compile-on-load. Also move blueprint usage warning flag into the UAnimBlueprint too, as these suffer from the same issues. #jira UE-38537 - Cooking FortniteGame results in warnings Change 3198485 on 2016/11/15 by Thomas.Sarkanen Properly fix compile-on-load/cook warnings about anim blueprint thread safety Content only re-save. #jira UE-38537 - Cooking FortniteGame results in warnings Change 3198622 on 2016/11/15 by Ben.Zeigler #jira UE-38632 Fix blueprint warning, was calling SetActive from construction script which is no longer allowed. This was being used for an editor-only debug feature [CL 3198987 by Marc Audy in Main branch]
2016-11-15 15:29:41 -05:00
FSoundSource::UpdateCommon();
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3624379) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3536809 by Ben.Marsh Fixing case of files in "iOS" directory, pt 1. Change 3536814 by Ben.Marsh Fixing case of files in "iOS" directory, pt 2. Change 3596207 by Thomas.Sarkanen Copying //Tasks/UE4/Dev-UEAP-29-PhATUpgrade to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3590250 PhAT Upgrade #jira UEAP-29 - New PhysicsAsset editor Changelists from task stream: Change 3380649 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Initial pass at allowing viewports to be extended more easily, still plenty TOD, but just unearthing this old shelf and getting it working. This gets the Persona skeleton tree and viewport into PhAT, without any PhAT functionality added. Change 3380685 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Renaming PhAT files to PhysicsAssetEditor Change 3380749 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rename PhAT -> PhysicsAssetEditor Change 3380832 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed up PhAT to Physics Asset Editor Change 3380884 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Reverted some over-zealous renaming Change 3380970 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaked ISkeletonTreeBuilder interface to make way for actually making a derived class of it Added the ability to hide filter menus to skeleton tree Change 3381017 on 2017/04/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added new physics asset skeleton tree builder Change 3384407 on 2017/04/07 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Skeleton tree extensions to support physics assets Only started this work - still much to do Change 3384460 on 2017/04/07 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rearranged persona viewport menus Change 3392222 on 2017/04/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed body/constraint modes. Added graph editor Added edit mode - moved viewport client code over Got PhAT skel mesh rendering in viewport Change 3392268 on 2017/04/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Increased hit proxy priority to improve selection Change 3401648 on 2017/04/20 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Skeleton tree gets bodies & shapes back. Selection works in graph, now displaying the correct constraint in the detials panel. Still need to add selection from viewport. Added multi-select to bone proxy customization Re-tweaked editor layout Change 3403701 on 2017/04/21 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Selection sync work. Customization of anim viewport menus. Context menus for physics asset items, as well as masking of various context menu items via settings. Change 3405246 on 2017/04/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Started more work on viewport menu extensions, but need to refactor the toolbar system to use actual multiboxes. Up next! Change 3405274 on 2017/04/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen More viewport menu fixups (plus deleting duplicate functionality). Change 3409155 on 2017/04/26 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Got simulation working again - as we switched to the debug skel mesh comp, the normal tick path didnt work for post-blend physics (it tried to flip the buffer too early). Also tweaked debug skel mesh comp root motion consumption code to not reset transfor every frame if we are not using root motion. Cleaned up unused files & code Change 3410814 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Allow extensibility of viewport menu bars Slate changes: Allow menu bars to optionally specify an icon to use. This is intended to allow us to move viewport tool/menu bars over to use multibox, with all the attendant features and extension points. Allow menu bars to optionally invert-on-hover. Allow styling of menus to affect closed appearance of menu header. Previously only NoBorder was used. Adjusted core styling of menu bar elements. Other changes: Adjusted padding for various UI elements to preserve previoud behavior. Adjusted SAnimViewportToolbar to use the new menu bar builder. Exposed SEditorViewportViewMenu so that it can be used in a standard menu bar. Change 3410816 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added extension point to viewport menu bar Change 3410818 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Getting sim working again Moved over to using preview instance so we share functionality with Persona editors. Added time dilation options to persona preview scene. Removed PhAT specific recording functionality (it is in the viewport now). Change 3410840 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Recreate physics state on edit, not sim start This allows velocity to be inherited when simulation is started Change 3410863 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moving viewport to continually-invalidated one like animation editors Fixed crash in non-extended viewport toolbars Change 3410936 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Bodies start off non-expanded Selection now synced between viewport and graph Constraint selection in graph not works on the first try Change 3410943 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added missing icon Change 3410966 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed shape listing from graph nodes Change 3411013 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Double click on body node recenters graph Fixed graph disappearing on right-click Change 3411111 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Prevented cursor getting swallowed in sim mode Change 3411126 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed overlapping text Change 3411213 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Node layout now takes dimensions into account Change 3411320 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed crash opening Persona editors Renamed file Change 3411327 on 2017/04/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaks to profiles menu Change 3420822 on 2017/05/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Profiles can now be edited in their own details panel Existing customizations folded into the new panel Tweaks to toolbar Added the ability for the persona details panel to have extra top/bottom content added Change 3420832 on 2017/05/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Add profile control to context menus Also delete old unused code Change 3422651 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Toolbar trimmed down & re-ordered Body/constraint ops moved to context menus Apply physmat now a context-menu option with an asset picker Change 3422654 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed extra warning dialog when auto-creating bodies Changed title of new asset dialog to "auto-create bodies" Change 3422680 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix "simulate selected" As we dont re-init the physics state each time we start simulating, our tweaked physics type was never applied. We now manually do this in the editor. Change 3422937 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Replaced EKCollisionPrimitiveType with EAggCollisionShape::Type Fixed up selection so body selection works & tree seleciton is properly synced with viewport Added recursion guard to selection delegate handlers. Removed vestigial instance property editing support (no longer needed). Removed unused old tree support code Change 3423034 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added constraints to tree Change 3423318 on 2017/05/04 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix bone proxiies stopping updating after initial viewport selection Change 3424993 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed up selection issues when creating new bodies Added constraint context menu Change 3424998 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved icons to central location Change 3425445 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Customized filtering of the skeleton tree Hide constraints by defualt Added option to hide parents when filtering (so the vertical space is nto wasted, but some idea of hierarchy is preserved). BREAKING CHANGE: changed skeleton tree filtering API to add args & removed bWillFilter bool. Change 3425488 on 2017/05/05 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3425303 Change 3427886 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved physics sim options to viewport menu (so seleciton changing is not required to change them) Moved physics-related rendering options to show menu We no longer switch to sim options when nothing is selected. During simulation we now disable the details panel Constraint scaling now works correctly (rather than just scaling the screen size limit that axes only are rendered) Change 3428040 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Small fixes based on feedback: Exposed Mirror tool to menus Exposed constraint quick actions to menus Added edit condition to Position & Velocity strength for physical animation Fixed up some tooltips & display names Change 3428143 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Defaulted to constraints as points Change 3428216 on 2017/05/08 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Request from Nick D: Update in-level primitive transforms immediately, rather than on mouse up. We only do this for non-convex primitives however, to avoid re-cooking meshes. Change 3430326 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaks to rendering of constraints and shapes to allow for better seleciton & interaction with editor widgets. Slightly increased point-constraint rendering size and added crosshair cursor to constraints Change 3430327 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed object-reuse issue in skeleton tree items with sanem names (use a GUID instead) Change 3430391 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed duplicate time dilation (can just use viewport menu!) Change 3430419 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixup post-merge Prevent crash by attaching to root component in the correct place Add IWYU include for TArrayView Remove more unused code Change 3430443 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix constraint/body selection one final time Move constraint drawing to SDPG_World (apart from point mode) Remove depth offset in material Change 3430495 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Enabling/disabling collision between bodies is now clearer Menu items are now enabled and disabled correctly depending on collision state Tooltip reflects what actually gets done when the operation is enacted Also corrected a few functions that still reference constraint & body mode Change 3430553 on 2017/05/09 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added enable/disable collision with all Change 3432386 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Color code graph items based on current profile Change 3432401 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Color code tree items too Change 3432418 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Bone selection & manipulation now possible - allows for pose setup before simulation Item expansion now expands leaf nodes when selecting - helps with constraint selection etc. Change 3432427 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix compile error Color code according to simulated/kinematic status Change 3432428 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen File i missed Change 3432540 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added physics asset factory so physics assets can be created form the "new asset" menu. Skeletal mesh is picked then a defualt asset is generated Change 3432556 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Improve interactions with bones & bodies Clear bone selection when selecting bodies/constraints Always hide gizmo in simulate Change 3432703 on 2017/05/10 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed unused selection lock feature Fixed selection working incorrectly with details panel closed Change 3434710 on 2017/05/11 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Selection improvements Multiselect in tree now only selects non-collapsed tree elements Selection API revamped in shared data, so multiselect of constraints can work correctly (they appear more than once in the tree, so the preivous single-point-of-access API was insufficent). Change 3489030 on 2017/06/14 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3488994 Change 3491459 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixup post-merge issues Change 3491486 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Simulation now works in a simlar way to the level editor Only on 'simulate' button, which controls repeating the last simulation (be it selected or not). Options are on a dropdown. Change 3491529 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed selection color of wireframe drawing (this broke ages ago!) Fixed initialized environment color/intensity Change 3491537 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaked materials so they dont repend on seperate translucency (which is optional, and disabled currently) Change 3491791 on 2017/06/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix crash when simulating selected new bodies Make sure we recreate physics state appropriately (it used to be done on simulation start, so wasnt needed each time) Change 3494359 on 2017/06/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Select all is now a menu option Context menu pops when right-clicking nothing now too Menu no longer grows enormous when multiple types of objects are selected Change 3494373 on 2017/06/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Enlarged constraint rendering size Show constraints (rather than points) by default Change 3511708 on 2017/06/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics Assets now appear in the asset family shortcut bar Physics Assets now render thumbnails Skeleton tree can now work in 'picker' mode Constraints can now be created manually in the graph, tree and viewport Fixed double-click and mousewheel not working right sometimes Change 3513121 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed clicks incorrectly selecting bones in simulate mode Change 3513160 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics Asset config is now loaded/saved Fixed antoher corner case with viewport clicks in sim Change 3513540 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved body creation params over to a details panel & settings object Moved initial creation dialog over to use the new system too Change 3513591 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Renamed shapes and constraints in the tree view Change 3513752 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Constraints are now not filtered by default Change 3513797 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Selecting constraints now shows them (and the bodies involved) in the graph Change 3513859 on 2017/06/28 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed "Show Kinematic Bodies" We now always show kinematic status in simulate mode Change 3515732 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen PhAT rendering settings are now persisted across sessions. Access to sim/edit settings is now not gated on state of the editor. Sim/edit settings are always both available. Added editable opacity to collision rendering. Change 3515735 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen New materials with opacity parameter Change 3515757 on 2017/06/29 by thomas.sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Re-saved materials Change 3515759 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added ability to only show selected bodies as solid Change 3515812 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix focus 'F' shortcut sometimes not working Change 3515984 on 2017/06/29 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix a bunch of selection issues with the graph not keeping in sync Change 3517456 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3516853 Change 3517514 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed disappearing convex meshes on simulate Also fixes crash in thumbnail rendering Change 3517556 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Disabled selection on mesh. Fixes selection issues. Also made the hit proxy use a crosshair when over bodies, for easier selection Change 3517642 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added body/body collision buttons back to the main toolbar Fixed solid body drawing using the wrong material when no bodies are selected Change 3517828 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix delete shortcut not working when tree is focused Change 3517927 on 2017/06/30 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Integrated per-bone primitive generation with the new tab method Removed context menu item for bones (fixes duplicate popup) Fixed undo/redo not working for regenerating all bodies Change 3519931 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Disabled body regeneration when simulation is running Fixed up tab icons Change 3519978 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Preview mesh is now set like every other Persona editor (via toolbar picker of via preview scene settings) Animation picker removed from toolbar (we use the preview scene settings for this now) Fixed profiles tab icon Change 3519982 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Show attached assets in tree Change 3519995 on 2017/07/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix broken multi-selection of bone proxies Change 3532799 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed code that prevented parts of the UI (like simulation) from working in PIE Removed graph overlays & added "PHYSICS" label Change 3532837 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed arrows from graph Fixed dragging off constraints/input pins/bodies in constraint-created graphs Constraint names now include both bodies Change 3532880 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Switched from colors to icons in the skeleton tree Removed bold fonts Change 3532907 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Layout fixes Added border around generate button in tools panel Removed skeleton tree header in contexts where it is not needed Change 3532932 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added slow task dialog for body generation Change 3532992 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rearranged context menus to be not so huge Change 3533134 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Rearranged menus some more Change 3533135 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Colorized details customization of swing/twist items Change 3533174 on 2017/07/12 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Auto-open assets when creating from skeletal mesh Tweaked tooltip on suggestion from Nick D Change 3535652 on 2017/07/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed mirroring changes not showing up straight away Change 3535731 on 2017/07/13 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved over to Persona-style floor adjustment Change 3539689 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Tweaked tooltips for filtering items Change 3539693 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added "deselect all" option (Esc) Change 3539731 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Graph selection tweaks Selected bodies in the viewport/tree are now also selected in the graph. Selection outline is now matched to the graph outline instead of using default outline. Pin allocation no longer happens twice Change 3539750 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Switched simulate shortcut to Alt+Enter Avoids conflict with clobal PIS/SIE shortcuts Change 3539933 on 2017/07/17 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Minor body regeneration refactor Label for tools tab button is dynamic depending on selection context Generation setttings are now re-used by creation dialog too Added in per-bone and per-body regeneration menu items. Bone regeneration now deletes the old body(s) instead of aborting Change 3543884 on 2017/07/19 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Resetting animation to default now correctly applies the animation Change 3544101 on 2017/07/19 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed up physics asset editor's use of debug skel mesh component This broke post-merge from Dev-AnimPhys. Kinda hacky, but we need to double-flip the buffers in this case as we want to force non-threaded work AND also wait on the physics tick group to complete (to blend in physics). This also requires making ShouldBlendPhysicsBones protected, otherwise the buffers are never flipped in the non=simulating case (before simulation is enabled in the physics asset editor). Change 3547893 on 2017/07/21 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Moved code to add/remove/assign/unassign profiles to details customization Also allowed dupication again (via the menu) Allows correct naming of new profiles as before (as this is handled in PostEdit) #jira UE-47448 - Deleting profiles in Physics Asset Editor does not update the current profile #jira UE-47514 - Unable to duplicate profiles in Physics Asset Editor #jira UE-47384 - New profiles in Physics Asset Editor are all named the same #jira UE-47375 - Physics Asset Editor 'None' current profile Delete option is available #jira UE-47378 - Current Profile name boxes in Physics Asset Editor are size limited and overlap buttons if too long #jira UE-47374 - Physics Asset Editor 'None' current profile text box is editable but doesn't save Change 3547925 on 2017/07/21 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Prevented ctrl+selection of constraints from re-selecting Avoided defered broadcast of seleciton event from the graph #jira UE-47515 - Ctrl + click and Shift + click does not remove constraints from skeleton tree in Physics Asset Editor Change 3550332 on 2017/07/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed bodies incorrectly simulating outside of 'simulate' mode Forced all bodies to be non-simulated when simulation is disabled. Also removed non-functioning motor menu options & disabled more menu options when simulating #jira UE-47579 - Entire mesh rotates uncontrollably after rotating a simulated body in Physics Asset Editor Change 3550355 on 2017/07/24 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed crash when failing to create a physics asset with multi convex hull #jira UE-47590 - Crash when New Physics Asset window is closed with no asset being created Change 3558007 on 2017/07/27 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed typo that disabled editability of profile names incorrectly #jira UE-47374 - Physics Asset Editor 'None' current profile text box is editable but doesn't save Change 3566157 on 2017/08/01 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed crash when opening a physics asset with a deleted preview skeletal mesh Now assigns default mesh as before If the mesh is then reset, the asset editor must be re-opened as the skeleton will have changed underneath it. #jira UE-47918 - Crash when opening certain Physics Assets Change 3568327 on 2017/08/02 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Prevent "set bodies below" from improperly enabling simulation on bodies #jira UE-47752 - Set all bodies below to simulated causes the viewport to simulate those bodies immediately in Physics Asset Editor Change 3570436 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics assets with simulated bodies no longer simulate when first opened #jira UE-48000 - Physics assets with simulated bodies begin simulating when first opened Change 3570470 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix excessive gravity crash when actors pop out of the world Also restrict gravity to non NaN-causing levels. #jira UE-48002 - Crash when mesh falls out of world due to high gravity simulation in Physics Asset Editor Change 3570717 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3570581 Change 3570781 on 2017/08/03 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix merge issues Change 3587760 on 2017/08/15 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed delegate for skeleton tree context menu extension, now uses an empty section Change 3589915 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Added comments to bone proxy & physics asset editor shared data Removed unused variables Change 3589976 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixed constraint 'all positions' rendering Removed empty override of unregister tab spawners Change 3589983 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fix crash when setting skeletal mesh Toast is not displayed when the skeleton is changed as well as the skeletal mesh. Toolkit was getting invalidated as setting the preview mesh to a different skeleton ends up restarting the sub-editor #jira UE-48196 - Crash when changing preview mesh of Physics Asset and applying Change 3589990 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Physics asset selection color now uses editor settings Change 3589994 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed unused functions Change 3589997 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Commented SetBodiesBelowPhysicsType as per code review Change 3590007 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Disabled physical material menu in simulate Change 3590130 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Removed unused code Commented a few functions Re-instated preview mesh selection Removed delegate allowing viewport client class creation Change 3590154 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Remove unused code Change 3590197 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Merge-Thomas.Sarkanen Merging //UE4/Dev-AnimPhys to Dev-UEAP-29-PhATUpgrade (//Tasks/UE4/Dev-UEAP-29-PhATUpgrade) @ CL 3589965 Change 3590250 on 2017/08/16 by Thomas.Sarkanen@Dev-UEAP-29-PhATUpgrade-Thomas.Sarkanen Fixup merge errors Change 3596227 by Jonathan.Poncelet Fixed physics substepping interpolation using the wrong starting value. #jira UE-48150 Physics Substepping doesn't have the same effect from 4.15 to 4.16 Change 3596241 by Jonathan.Poncelet Fixed cloth not being drawn correctly in the editor, due to bounds not being computed accurately. #jira UE-48243 Clothing disappears during cloth paint mode once you navigate to a section far from the origin Change 3596247 by Thomas.Sarkanen Fixup CIS errors post PhAT Upgrade merge Change 3596250 by Thomas.Sarkanen More CIS fixes Change 3596255 by Benn.Gallagher Fixed compilation errors when nativizing animation blueprints that use subinstances #jira UE-46522 Change 3596256 by Benn.Gallagher Fixed orphaned sub anim instance pins hanging around #jira UE-46545 Change 3596257 by Benn.Gallagher Fixed skel surf particles being misplaced when clothing was active. And fixed particles spawning on disabled cloth proxy sections. #jira UE-48045 Change 3596258 by Benn.Gallagher Hide mass override when selecting skeletal meshes. Mass overrides are taken from physics asset and will be ignored on the component so it makes no sense to have this visible #jira UE-47755 Change 3596259 by Benn.Gallagher Fixed mismatch between paint values and view values for clothing tools #jira UE-48110 Change 3596260 by Benn.Gallagher Stopped property context menus killing the whole window stack when an item is clicked #jira UE-48158 Change 3596261 by Thomas.Sarkanen One last Mac CIS fix (hopefully) Change 3596308 by Benn.Gallagher Removed outdated references to APEX in clothing example map. Change 3596360 by Martin.Wilson Fixing inconsistent animation entries in blueprint context menu (displaying differently depending on whether the asset is loaded) + Cache correct tooltip when asset isn't loaded #jira UE-48452 Change 3596459 by Benn.Gallagher Fixed anim curves not correctly being updated to post process instances. Change made to curve update in Dev-General fixed main and sub instances but missed post process instances. #jira UE-47567 Change 3596967 by Aaron.McLeran Adding setting default reverb send level in audio settings. Change 3596974 by Ethan.Geller Merge in fix from Christopher Oliver Change 3597243 by Aaron.McLeran Checking in missing files. Change 3597686 by Ethan.Geller Fix warnings/errors from CL 3597452 Change 3597846 by Ethan.Geller Fix errors, take 2 Change 3598290 by Ethan.Geller Panning Angle Issue Change 3598412 by Ethan.Geller Change Core.h header to CoreMinimal.h, fix warnings Change 3599797 by Jurre.deBaare LODs from Merge Actor tool have bad normals #jira UE-47129 #fix normals weren't wrong but user was complaining about the lightmap resolution behaviour, so added a new feature that calculates the lightmap resolution according to: 1) Summing all lightmap pixel counts for each mesh component being merged 2) Calculating fitting texture dimension by taking square root of the total pixels Change 3599863 by Lina.Halper PR #3919: rename flag 'DEPERCATED_PHYSBLEND_UPDATES_PHYSX' to 'DEPRECATED_PHYSBLEND_UPDATES_PHYSX' to fix the typo (Contributed by aziot) Change 3599883 by Jurre.deBaare HLOD: update outliner tooltip when UE docs arrive #jira UE-20352 Change 3599944 by Martin.Wilson Smart name refactor - Remove guids entirely - Remove automatic fix up - Simplify smart name mapping container - Make animations deterministic for cooking #jira UEAP-264 Change 3600133 by Benn.Gallagher Fixed crash shutting down editor with active cloth paint tab, as mode manager was being used unsafely. #jira UE-48612 Change 3600166 by Benn.Gallagher Fixed cloth paint gradient allowing invalid values #jira UE-48114 Change 3600719 by Lina.Halper PR #3894: PlayMontage node bug Fix (Contributed by ArCorvus) Change 3601668 by Jurre.deBaare Improve BlendSpace preview pin dragging controls #fix Click and drag now also works for the preview pin which should allign it with other pins on the grid and makes the preview functionality more discoverable #misc Also added tooltips on the grid to make the functionality more discoverable #jira UE-43011 Change 3601669 by Jurre.deBaare No easy way to tell which Blend Sample in the blend graph matches up to which Blend Sample in the Asset Details panel #fix I've added the SampleIndex to the names to make it easier recognizing which one is which #jira UE-46892 Change 3601731 by Benn.Gallagher Fixed cloth paint falloff to actually calculate falloff, and take brush strength into account. #jira UE-48329 Change 3601897 by Lina.Halper fixing issue with sequencer reinitialization #jira: UE-48556 Change 3602339 by Benn.Gallagher Fixed comment/tooltip typo Change 3602502 by Benn.Gallagher Fixed clothing gradient tool renderer not showing selected points when camera was moving #jira UE-48331 Change 3602664 by Ethan.Geller Unshelved fixes from Dev-VR Change 3602726 by Lina.Halper Back out revision 3 from //UE4/Dev-AnimPhys/QAGame/QAGame.uproject #jira: UE-48700 Change 3603011 by Lina.Halper Fix build error Change 3604139 by Benn.Gallagher Restricted painter processing to no longer attempt painting while in simulation previews in cloth paint mode. #jira UE-47960 Change 3604284 by Benn.Gallagher Fixed crashes in physics asset editor and skeletal mesh editor when the preview scene clears out the preview mesh while clothing is running #jira UE-48687 Change 3604612 by Lina.Halper Fix curve issue from automation test - It was actual bug. Change 3604614 by Lina.Halper - Fix crash with macro anim notify - Make sure macro anim notify doesn't show up in the menu #jira: UE-45036 Change 3604725 by Lina.Halper fixed issue with opening state machine from anim graph #jira: UE-48726 Change 3604971 by Aaron.McLeran #jira UE-48738 Launching Oculus Rift without -VR plays audio in the oculus rift. Bringing fix from 4.17 to Dev-AnimPhys Change 3605787 by Aaron.McLeran Adding ability to pass in an optional owner in PlaySound2D and PlaySoundAtLocation BP calls - This is necessary in order to use the sound concurrency "limit by owner" feature Change 3606851 by Jurre.deBaare UE4Editor Static Analysis Win64 - Warning fix Change 3607022 by Lina.Halper Fix static analysis warning Change 3607229 by Jurre.deBaare RemoveAllCurveData should not allow removing data from the Skeleton #jira UE-48107 Change 3607660 by Martin.Wilson Live link client can run in cooked builds too #jira UEAP-306 Change 3607668 by Ethan.Geller #jira UE-48792 fix null dereference case in audiodevice.cpp Change 3607734 by Lina.Halper LOD linking to curve - consolidated to one param - curve eval option - for long time, looking at why morphtarget wasn't working on LOD 1, later realized it was due to simplified :( - fixed to make sure param to clear is always checking with default value - this is correct behavior and it's not too bad for perf because internally the default value is also in the TMap - flipped meaning to align with bAllowCurveEvaluation - also fixed issue with orion cooking - where transform curves are added as normal curves #jira: UE-37996, UE-48782 Change 3607859 by Martin.Wilson Missed files from live link editor checkin Change 3607958 by Martin.Wilson Redo Jurre's changes from CL 3607229 (were removed by CL 3607734) Change 3608566 by Ethan.Geller change include to avoid header conflicts on Linux Change 3609074 by Ethan.Geller Take 2: Fix capitalization on include, fix Linux build. Change 3610024 by Lina.Halper Fix issue with material editor crashing due to missing load module of AdvancedPreviewScene - we used to load advanced preview setting by persona module - this has been moved to persona tool kit, and now all other modules are crashing - If we want to do it for tool kit, we have to make sure all other editor's loading should change also. #jira: UE-48809 Change 3610081 by Jurre.deBaare Animations can't be set on blend samples from the dropdown #fix Skeleton asset registry tag now includes 'AssetTypeName' PathToAsset, so replacing compare with contains #jira UE-48746 Change 3610088 by Jurre.deBaare Editor crashes if you CtrlZ several times after adding animations to a 1D blendspace #fix removed the hacky OnObjectPropertyChanged and tied the refresh into propertyhandles instead #misc found out of sync widget values due to incorrect encapsulation inside of lambdas #jira UE-48741 Change 3610862 by Ethan.Geller Fix submix effects for situations where number of input channels does not equal output channels Change 3611346 by Aaron.McLeran Using audio thread platform affinity mask for audio render thread. Change 3613297 by Ethan.Geller Simple delay submix Change 3614435 by Martin.Wilson CIS fix Change 3614482 by Martin.Wilson Store root motion on anim instance instead of proxy to avoid thread safety stalls #jira UE-46896 Change 3614483 by Martin.Wilson Evaluate curves in anim offsets #jira UE-47119 Change 3614495 by Jurre.deBaare Reimport alembic file with new source option does not automatically tick any tracks #fix If no tracks are set to import, reset them all to do so (we're assuming here the user is importing something completely different, and we wouldn't want her to import an empty animation either) #jira UE-46141 Change 3614645 by Thomas.Sarkanen Fixed physics assets not simulating when BlockAll was globally overridden Persona viewport was overriding the collision profile back to BlockAll, which projects can override. Setting to the internal PhysicsActor profile prevents this, as it used to in PhAT #jira UE-48591 - Physics assets not simulating correctly in Orion Change 3614683 by Lina.Halper Fixed crash when modifying default physicsasset #jira: UE-48844 Change 3614721 by Jurre.deBaare Vertex painting on skeletal meshes bound by physics asset #fix Now try and find intersecting triangle if we do hit the mesh bounds, but not any physics bodies #jira UE-48004 Change 3614730 by Thomas.Sarkanen Fixed crash when regenerating multi convex hulls from zero-vert bones We handled this in the single convex hull case, but multi did not. #jira UE-48780 - Editor crashes if you regenerate a box body to a complex hull body Change 3614763 by Jurre.deBaare Moving over: HLOD crash when dragging and dropping actors into their own cluster in the HLOD outliner - ALODActor #jira UE-48249 #fix ensure that we nullptr check the static mesh as a LODActor can be reset to have a null static mesh Change 3615029 by Lina.Halper Fix issue with highlight #jira: UE-48855 Change 3617593 by Thomas.Sarkanen Fixed crash when regenerating large amounts of bodies We were overflowing the PhysX shape limit for aggregates - this refers to shapes, not bodies, it seems #jira UE-48606 - Crash when adding new multi convex hull body to bone on skeleton that already has multi convex hull bodies Change 3617609 by Jonathan.Poncelet Fixed crash that could occur when opening a physics asset and deleting bones. #jira UE-48971 Editor crashes if you clear a preview mesh on a physics asset and delete the bones when reopening it Change 3617723 by Thomas.Sarkanen Prevented actors & components of anim preview scenes (and the preview scenes themselves) from persisting after editors are shut down Fixed up 2 locations where the persona toolkit was being held onto by a strong ptr (cloth paint and new PhAT). This should stop the preview scene from persisting. Moved AddToRoot pattern used for anim preview scene to FGCObject #jira UE-47227 - [CrashReport] UE4Editor_Persona!TSharedPtr<IEditableSkeleton,0>::ToSharedRef() [sharedpointer.h:794] #jira UE-47717 - SkelMesh Editor creates preview World, but it never gets destroyed Change 3617818 by Benn.Gallagher Final v1 UX changes for clothing tool, and removed experimental flag Change 3617937 by Jurre.deBaare Default bounds for Alembic skel-mesh are too large #fix bounds was initialised to zero and +-ed which meant that it would always include (0,0,0) and enlarge the bounds #jira UE-47139 Change 3618187 by Ethan.Geller Implement Audiomixer in HTML5 Change 3618188 by Lina.Halper Fix issue with highlight in persona #jira: UE-49020 Change 3618229 by Lina.Halper Fix crash on exit when modify is causing it to serialize again in the middle of tear down #jira: UE-48025 Change 3618248 by Lina.Halper fix issue by workaround where clamp is not happening with allowspin is false #jira: UE-47001 Change 3618289 by Aaron.McLeran Removing audio format types we're not using for simplicity Change 3618291 by Martin.Wilson Fix duplicate of curve name appearing in list when renaming #jira UE-49041 Change 3618390 by Aaron.McLeran Removing a case for DTYPE_Xenon since this is never used. Change 3618425 by Martin.Wilson Keep notify UI up to data across multiple editors when adding notifies to an animation #jira UE-48104 Change 3619023 by Aaron.McLeran Removing DTYPE_Xenon from XAudio2Buffer.cpp since it's not used Change 3619129 by Aaron.McLeran Source bus feature. - New architectural feature for audio mixer that allows audio sources to route to other audio sources. - Buses can be routed to each other - Buses have a duration which can be set in bus asset - Buses can choose between mono and stereo channels - Sources can send to buses and also toggle to *only* output to buses (and bypass submixing) - Will allow persistent source effects on different source audio, while also maintaining 3d spatialization capabilities. Lots of future features will build on this change: 3d audio-volume-based submixing, sidechaining, environment reflections, diagetic microphones, etc. - Some engine changes and optimizations: - Format conversion to float is done in async workers for decode vs the render callback - Procedural sound waves can opt to output only float vs int16 PCM data (avoids a format conversion in audio mixer) - Apply master attenuation at the final output vs per-source - Fixed code that performs fade in/fade out for smooth startup and shutdown. - Moved FSourceParam to FParam into DSP utility so others can use it. - Some engine fixes: - Audio spat plugins that are external sends will not send audio to default/base submix. But will also allow their audio to be panned and sent to submix sends (e.g. reverb) so external HRTF rendering can also get reverb effects, etc. - Fixed an issue with pause - Fixed an issue with the final source buffer in a source voice not getting properly rendered and causing discontinuties - Fixed an issue with WorldID not getting set for listeners TODO: - fill out source bus details panel customization to hide USoundBase params which aren't relevant to source buses Change 3619159 by Ethan.Geller #jira UE-48950 fix steam audio crash on editor exit Change 3619555 by Jonathan.Poncelet Fixed constraint debug drawing arrows in the physics asset editor being too large. #jira UE-48863 Limited constraints and free constraints are much larger on screen Change 3619574 by Thomas.Sarkanen Fixed debug link for animation blueprints not persisting when changing preview mesh Anim instance is no longer re-created all the time when setting skeletal mesh, so we need to re-init the preview instance and re-set the linked skeletal mesh component manually when the mesh changes. #jira UE-46642 - Switching Preview mesh when you've selected an AnimBP breaks the link between the AnimBP and PIE session Change 3619586 by Thomas.Sarkanen Fixed physics asset shortcut not working correctly in certain circumstances FBox was using uninitialized memory #jira UE-49034 - Pressing F to focus on a physics body focuses on the area in between the root and the physics body and not the selected body Change 3619640 by Thomas.Sarkanen Assets with no preview mesh now no longer allow access to other skeleton's physics assets in their shortcut bars Unified the skeleton/mesh search code between FPersonaAssetFamily and FPersonaToolkit, so they bot *look* for a compatible skeletal mesh if one was not found on the asset (but still dont set it automatically). #jira UE-49038 - If you open a skeleton or an animation it won't open persona with the correct physics asset in the quick switch bar Change 3619644 by James.Golding Change FBodyInstance::InstanceBodyIndex back to int32 (need to support ISMC with many instances) #jira UE-47652 Change 3619654 by Martin.Wilson Fix removing a curve when it isn't used on any animations #jira UE-49048 Change 3619771 by Thomas.Sarkanen Make sure the physics asset editor floor has collision, regardless of what BlockAll does #jira UE-49088 - PhysicsAsset Editor Floor should not depend on BlockAll config Change 3619803 by Jonathan.Poncelet Fixed localization warnings caused by duplicate keys. #jira UE-48580 //UE4/Main: Step "Build Engine Localization" has completed with 4 Warnings Change 3619813 by Jurre.deBaare Baked bones using a pose animation are rotated in the wrong direction #fix root bone transform wasn't being taken into account while generating final bone transforms #misc added debug logging for future work #jira UE-47362 Change 3619830 by Jurre.deBaare Biased Texture Size option is not functioning when Merging Actors #fix Fixed up material baking setup after refactoring, now sets correct texture sizes again according to texture sizing type, this will be removed in the long term anyhow #misc Found a bug in material rendering if previous render size < current render size it would not set the viewport size/projection matrix correctly which broke the material bake #jira UE-48108 Change 3619859 by Thomas.Sarkanen Fixed HLOD selection sphere persisting on undo/redo Removed HLOD selection actors when the outliner is refreshed #jira UE-47032 - HLOD Cluster radius sphere remains in level if you move an actor in a cluster and then undo the movement. Change 3619871 by Martin.Wilson Calculate root motion over the correct segment times, not the track times #jira UE-43719 Change 3619898 by Thomas.Sarkanen Improve UI feedback around bounds/in-game bounds in animation editor viewports Tooltip for in-game bounds is now more detailed In-game bounds cannot be selected if bounds is not also selected #jira UE-47958 - Bound vs In-game Bound in Viewport Show menu in Physics Asset Editor is confusing Change 3619908 by Thomas.Sarkanen Fixed tooltip for PhysicsType #jira UE-48421 - Incorrect tooltip for Physics Type Change 3620014 by Jurre.deBaare Only the first mesh bake material property in the array can be set to diffuse, diffuse cannot be selected on the other array elements #fix Changed the way the restriction is setup and retrieve the UMaterialOptions from the details view instead of GetDefault<> #misc Also added more delegates to ensure the restriction is up to date #jira UE-46980 Change 3620104 by Jurre.deBaare HLOD doesn't support renaming in levels #fix ensure that during renaming of UWorld we also rename the HLOD assets into their respective new HLOD package outer #jira UE-48072 Change 3620151 by Thomas.Sarkanen Undo/redo now correctly affects animation preview scene settings Preview scene desc is now transactional & state is correctly set up on undo/redo according to the current preview scene desc #jira UE-47816 - Undoing setting the animation mode to Refrence pose doesn't update the UI Change 3620152 by Thomas.Sarkanen Exposed LOD menu in PhAT This allows auto LOD to be optionaly selected. It was hidden and we forced to LOD 0 before. We still default to forcing LOD 0 to preserve the old behavior. #jira UE-47970 - LODs not working in Physics Asset Editor Change 3620177 by Benn.Gallagher PR #3696: Fix for USkinnedMeshComponent::GetCPUSkinnedVertices() (Contributed by Koderz) Change 3620250 by Jurre.deBaare HLOD assets left in HLOD folder when clusters are deleted #fix some added lifetime management for HLOD assets, keeping list of 'stale' HLOD assets which if not Undo-ed will either be deleted when LODActor is saved, or marked PendingKill when LODActor is destroyed #jira UE-47450 Change 3620273 by James.Golding PR #3908: Removing duplicated forward declation (Contributed by celsodantas) #jira UE-48530 Change 3620274 by James.Golding PR #3909: Removing unnecessary conditional (Contributed by celsodantas) #jira UE-48531 Change 3620275 by James.Golding Add icon for destruction plugin Change 3620401 by Ethan.Geller #jira UE-47684 Remove SDL dependencies from Win64 Change 3620586 by Jurre.deBaare Linux CIS fix Change 3620660 by Martin.Wilson Fixes for state machines getting reinitialized in situations that users don't want them to. -Added option to state machine to allow it to skip reinitialization when it becomes relevant -Added option to slot nodes to keep source pose relevant while montage slot is playing. #jira UE-43578 Change 3620665 by Aaron.McLeran Making source buses only show relevant source bus data. - hiding sound wave categories that aren't relevant to source buses Change 3621087 by Ethan.Geller #jira UE-49000 implement device change listener to ensure we are properly handling when audio is disabled. Change 3621144 by Aaron.McLeran #jira UE-49147 #jira UE-49145 Fixing concurrency and volume stats Change 3621148 by Aaron.McLeran Fixing typo Change 3621180 by Ethan.Geller #jira UE-49151 Fix for browser preview on bus only sounds Change 3621421 by Ethan.Geller #jira UE-49165 Fix real time audio slider. Change 3621604 by Ethan.Geller #jira UE-44847 fix iOS panning algorithm on non-audio mixer Change 3621626 by Lina.Halper Fix issue with anim montage displaying when selecting animation #jira: UE-48749 Change 3621813 by Thomas.Sarkanen Fixing undo/redo of bone modifications in Physics Asset Editor (and others) Bone proxy objects now get recycled (instead of the pool constantly growing) as their names are stable and unique. Fixed broken skeleton tree RTTI (so selection persistance now works correctly on undo/redo again) We no longer force a re-selection on phyiscs asset changes (the tree takes care of that anyway). #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3621831 by Jurre.deBaare Crash fix for Material baking when trying to analyse a MP_MAX material property #jira UE-49172 Change 3621936 by Thomas.Sarkanen Fixed CIS error from merge Change 3621937 by Thomas.Sarkanen Fix merge issue with API change in USynthComponent Change 3622173 by Thomas.Sarkanen Fixed ortho viewports being bright white in sub-editors Preview scenes in general are responsible by default for the background color. Advanced preview scenes now use background color from settings. Previously only te animation editors did this. #jira UE-48841 - The background of the orthographic viewports is bright white Change 3622730 by Ethan.Geller #jira UE-49182 UE-49198 UE-49201 Fix for channel mismatch in procedural sound waves, remove singleton behavior for MMNotificationClient. CL by Aaron.McLeran Change 3622759 by Ethan.Geller #jira 49170 reduce static analysis warnings for audiodevice.cpp Change 3622901 by Benn.Gallagher Bumped PhysX DDC key after change in Orion caused verify failures Change 3623458 by Aaron.McLeran #jira UE-49204 Delores monologue cut short in Odin elevator Change 3623667 by Aaron.McLeran #jira UE-49204 UE-49243 Delores monologue cut short in Odin elevator Change 3623752 by Aaron.McLeran #jira UE-49247 Sound Source Bus Properties Are Inappropriate Fixing issues with new source bus uobject so properties show up appropriately. Change 3624058 by Ben.Marsh Fix stale module being enumerated when running UE4Editor-Cmd.exe, causing warning when running incremental automated tests. Module and version manifest filenames are derived from the executable filename, so when running the executable compiled for the console subsystem, we need to strip the -Cmd suffix from the executable name to find the correct path. Change 3624193 by Ethan.Geller #jira UE-49170 Static analysis fix, take 2 Change 3354003 by Thomas.Sarkanen Back out changelist 3353914 Change 3355932 by Thomas.Sarkanen Back out changelist 3354003 Reinstating merge from Main: Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3353839 Change 3477632 by Jurre.deBaare Automated test content and ground truths for Actor Merging and Material baking functionality Change 3491464 by Jurre.deBaare Updated automation content for MergeActor behaviour Change 3587878 by Thomas.Sarkanen Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3587489 Change 3597452 by Ethan.Geller #jira UEAP-304, UEAP-280, UEAP-281: Major structural refactor of Audio Plugin interfaces, Oculus Audio plugin, Steam Audio Plugin. Introduction of Sony Audio3D plugin. Change 3602935 by Lina.Halper Allow curve evaluation to be controlled by users #jira: UE-46446 Change 3606120 by Ethan.Geller Move Tap Delay Submix to Synthesis library, modify tap delay API Change 3621830 by Thomas.Sarkanen Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ CL 3621691 Change 3622807 by Ethan.Geller #jira UE-49201 Fixing volume issues Issue is that these platforms weren't using the proper public function and an audio mixer refactor changed how volume is calculated to seperate out distance attenuation vs other volume gains. [CL 3624383 by Thomas Sarkanen in Main branch]
2017-09-04 04:17:46 -04:00
float Volume = WaveInstance->GetActualVolume();
if (SetStereoBleed())
{
// Emulate the bleed to rear speakers followed by stereo fold down
Volume *= 1.25f;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3038004) #rb None #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3021479 on 2016/06/21 by Marc.Audy Fix child actor properties set in the parent's construction script from being wiped out (4.12) #jira UE-31956 Change 3021703 on 2016/06/21 by Marc.Audy Fix crash due to copying properties to registered components and then reregistering them. (4.12) #jira UE-31973 Change 3022105 on 2016/06/21 by Jeremy.Ernst -new test assets for James for PSD node Change 3022621 on 2016/06/22 by James.Golding Add AnimBP for testing PSD Change 3022622 on 2016/06/22 by James.Golding Only restrict anim asset selection for UAnimGraphNode_AssetPlayerBase derived nodes Change 3022656 on 2016/06/22 by James.Golding UE-30537 Fix solid collision geom drawing not working when mirrored Change 3022657 on 2016/06/22 by James.Golding Don't crash in FAnimGraphNodeDetails::OnShouldFilterAnimAsset if AnimAsset doesn't have Skeleton asset registry tag (shouldn't happen, but shouldn't crash) Change 3022663 on 2016/06/22 by James.Golding UE-31283 Additional extensibility for anim and physics PR #2434: Morpheme integration changes (Contributed by NaturalMotionTechnology) Change 3022683 on 2016/06/22 by James.Golding - Change OrientationDriver to always use PoseAsset for target poses - Remove NumPoses from PoseAsset and use GetAssetRegistryTags instead Change 3022891 on 2016/06/22 by mason.seay Test asset for component hit Change 3023203 on 2016/06/22 by mason.seay Updated map to use more noticeable sound assets Change 3023335 on 2016/06/22 by Marc.Audy Use AddReferencedObjects instead of iterating array manuallly Change 3023351 on 2016/06/22 by Ori.Cohen Fix the case where physics hit events were passing the wrong component's bone info to the hit event. #JIRA UE-32376 Change 3023368 on 2016/06/22 by mason.seay Renamed actors in World Outliner Change 3023425 on 2016/06/22 by mason.seay Moved asset to new folder and fixed deprecated node Change 3023429 on 2016/06/22 by mason.seay Disabled collision on proc mesh Change 3023553 on 2016/06/22 by Jon.Nabozny Fix issue where MaxAngularVelocity resets to default on UPrimitiveComponent->BodyInstance. Replicated from CL 3009477. #JIRA UE-31670 Change 3024669 on 2016/06/23 by James.Golding Update PSD test assets (removing unused) Change 3024864 on 2016/06/23 by Marc.Audy Audio Threading! Change 3024877 on 2016/06/23 by James.Golding PR #2375: Allow the creation of custom IStreamingManager (Contributed by bozaro) Change 3024880 on 2016/06/23 by James.Golding PR #2209: Fix UGameplayStatics::*Game*Slot documentation (Contributed by Lectem) Change 3024939 on 2016/06/23 by James.Golding - Add SwingOnly options to OrientationDriver - Move EBoneAxis from AnimNode_RotationMultiplier.h to AnimTypes.h - Calculate gaussian radius per pose, not globally Change 3024940 on 2016/06/23 by James.Golding PoseAsset editor improvements - Replace pose edit box with inline-editable style (with validation) - Add filter highlight - Show curve values for each pose when selected - Add different background for curve list - Filter box only searches pose list, moved location to indicate that Change 3024949 on 2016/06/23 by James.Golding Small update to PSD test AnimBP Change 3025002 on 2016/06/23 by Ori.Cohen Fix the case where fixed frame rate combined with t.maxfps would lead to negative delta time. We now take the min of t.maxfps and fixed frame rate. #JIRA UE-32219 Change 3025214 on 2016/06/23 by mason.seay Updated Character Movement Map Change 3025319 on 2016/06/23 by Ori.Cohen Make sure changing skeletal mesh updates the bone index on body instances already created. Change 3025435 on 2016/06/23 by Ori.Cohen Fix welded bodies not updating their collision profile when calling SetCollisionProfile #JIRA UE-32394 Change 3025581 on 2016/06/23 by mason.seay Test asset for slicing procedural mesh Change 3026483 on 2016/06/24 by Marc.Audy Don't reschedule multiple times tick functions used as prerequisites #jira UE-32414 Change 3026498 on 2016/06/24 by mason.seay Updating blueprint for bug repro Change 3026547 on 2016/06/24 by Thomas.Sarkanen Fixed crash in FKismetDebugUtilities::GetWatchText() Crash reported by this UDN: https://udn.unrealengine.com/questions/300110/crash-in-kismetdebugutilities-when-printing-watchp.html Change 3026598 on 2016/06/24 by James.Golding Double clicking on poses now toggles them between 1.0 and 0.0 strength Change 3026768 on 2016/06/24 by Marc.Audy Change up suspend audio thread cvar sink warning about disabled threading to avoid inappropriate warnings #jira UE-32468 Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3026978 on 2016/06/24 by Lina.Halper - Delete DrivePose Curve type - Renamed TriggerEvent to DriveAttribute for consistency - Replaced drive pose to drive attribute - right now it can't have 0 curve type flags, so everything is DriveAttribute #code review: James.Golding, Martin.Wilson Change 3027113 on 2016/06/24 by mason.seay Test Pose Assets Change 3027454 on 2016/06/24 by Aaron.McLeran UE-32492 Fix for cleaning up xaudio2 source voices and xaudio2 buffers if the source fails to initialize https://answers.unrealengine.com/questions/441080/audio-crash.html http://crashreporter/Crashes/Show/5689478 Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3027887 on 2016/06/25 by Lina.Halper Fix clang build warning Change 3028703 on 2016/06/27 by Lukasz.Furman gameplay debugger config improvements, categories and extensions can now be toggled while PIE/simulate is active #ue4 Change 3028792 on 2016/06/27 by Lukasz.Furman compilation fix for gameplay debugger Change 3028950 on 2016/06/27 by Lukasz.Furman compilation fix for gameplay debugger Change 3029003 on 2016/06/27 by Ori.Cohen Added PhysicalAnimation component that allows us to physically drive skeletal mesh from animation Change 3029019 on 2016/06/27 by Lina.Halper Update pose from source asset Change 3029094 on 2016/06/27 by Marc.Audy If Player->StartSpot is null disregard ShouldSpawnAtStartPoint returned true. Change 3029308 on 2016/06/27 by Jeremy.Ernst -adding test animation for PSD node. Has morphs built in to compare against driver result Change 3029372 on 2016/06/27 by Marc.Audy Fix compile error after merge Also just fix the logic to be explicit rather than using suppression for static analysis warning Change 3029493 on 2016/06/27 by Ori.Cohen Move PhysicsAsset.h out of public engine header. Change 3029550 on 2016/06/27 by Lina.Halper Fix crash with Nan when additive blending of poses\ Change 3029659 on 2016/06/27 by Aaron.McLeran Adding new minor feature to add new concurrency mode - stop by lowest priorty but prevent new rather than stop oldest. Change 3029673 on 2016/06/27 by Aaron.McLeran #JIRA FORT-24936 Disable EQ on AMD machines since it is causing them to stall and starve other important threads. This is only a temporary solution until a better one is found. Implementation in CL 3024124 Change 3030470 on 2016/06/28 by Ori.Cohen Fix OnConstraintBrokenWrapper being accidently wrapped with if WITH_CLOTHING #JIRA UE-32561 Change 3030586 on 2016/06/28 by Lina.Halper Preview curve fix from anim curve viewer #code review: Martin.Wilson Change 3031054 on 2016/06/28 by Aaron.McLeran #jira UE-32566 Incorrectly copied CL 3024124 to Dev-Framework Change 3031535 on 2016/06/28 by mason.seay Re-saving concurrency asset Change 3031691 on 2016/06/28 by Marc.Audy Fix stat sounds not turning on correctly unless a sort was specified #jira UE-32597 Change 3031883 on 2016/06/28 by Zak.Middleton #ue4 - Prevent bNotifyJumpApex from being editable, and clean up comments. Change 3031898 on 2016/06/28 by Zak.Middleton #ue4 - Fix mesh smoothing on clients popping briefly when crouching. This was due to the change in 4.12 where we started smoothing Z location rather than always zeroing it (in certain movement modes). #udn https://udn.unrealengine.com/questions/300494/networked-crouching-jitter.html Change 3032539 on 2016/06/29 by Marc.Audy Don't destroy AudioDevices before draining audio commands and stopping audio thread #jira UE-32611 Change 3032633 on 2016/06/29 by Marc.Audy In the same way that SpawnActor doesn't work during world teardown, don't allow new components to be added which could introduce recursion within the destroy logic. #jira UE-32574 Change 3032644 on 2016/06/29 by Lina.Halper - Fixed issue where pose node evaluator doesn't show up in the menu with asset - it showed twice of pose node (none) - jira UE-32358 - Fixed issue where anim evaluator/pose asset by name/blend space evaluator failed to display assets properly - jira UE-32359 - support create pose menu from create asset - UE-32596 - added create pose asset from current pose - update source should refresh list - UE-32576 - fixed blendspace to be in the blendspaces category Change 3032847 on 2016/06/29 by Tom.Looman Added PredictProjectilePath and SuggestProjectileVelocity_MediumArc utilities to UGameplayStatics. Updated SuggestProjectileVelocity to avoid floating point precision errors on gravity value comparison. #jira UE-32103 Change 3033124 on 2016/06/29 by Jon.Nabozny Fix issue where InstancedStaticMeshComponent InstanceBodies don't move when the mesh is updated. #JIRA: UE-13673 Change 3033155 on 2016/06/29 by Lina.Halper - montage is playing and montage is pure - made montage parameter to be mostly const (except play), and made it consistently pointer Change 3033157 on 2016/06/29 by Lina.Halper Check in missing file Change 3033456 on 2016/06/29 by Lukasz.Furman fixed path following changes broken by merge #ue4 Change 3033956 on 2016/06/30 by bruce.nesbit PR #2483: Fix/Improvment Move Component To Rotation (Contributed by Nachtmahr87) #test PIE Change 3034019 on 2016/06/30 by Benn.Gallagher Anim blueprint sub-instances, allowing anim blueprints to run within anim blueprints and expose parameters back to the "parent" instance. Caveats: - Slots and state machine names are unique and boxed per instance, meaning playing a montage on a slot will only affect slots in the outermost instance and state machine getters are local to their instance. #jira UEFW-1 Change 3034085 on 2016/06/30 by Benn.Gallagher Missed LOCTEXT_NAMESPACE undefs from the subinstance checkin, for some reason doesn't get caught on windows, likely how the unity files are stuck together. Change 3034162 on 2016/06/30 by Martin.Wilson Refactor bone reference widget so that selection tree can be used seperately Change 3034205 on 2016/06/30 by Lina.Halper #ANIM: fix issue with addiitve blending with non-full weight applying wrong scale #jira: UE-32643, UE-32593 Change 3034339 on 2016/06/30 by James.Golding Moving functionality from Skeleton Curves tab into Anim Curve Viewer tab Change 3034426 on 2016/06/30 by Martin.Wilson CIS Fix Change 3034629 on 2016/06/30 by Lina.Halper Support non-zero curves to be stippred out upon importing Change 3035863 on 2016/07/01 by Marc.Audy When pasting components in to a blueprint, make the relative position and rotation of the root 0,0,0 #jira UE-31344 Change 3035916 on 2016/07/01 by Jon.Nabozny Fixed PaperGroupedSprite doesn't update InstanceBodies data in physics. This change is related to CL-3033124 Change 3035973 on 2016/07/01 by Lukasz.Furman fixed hash function for FRecastDebugPathfindingNode #ue4 Change 3036024 on 2016/07/01 by Zak.Middleton #ue4 - Avoid filling in array in AActor::FixupNativeActorComponents() unless we detect a null scene component. Avoid copying TWeakObjectPtr in ValidateDeferredTransformCache(). Change 3036157 on 2016/07/01 by Marc.Audy Protect against running commands on game thread when the audio device has already been freed #jira UE-32611 Change 3036178 on 2016/07/01 by Marc.Audy Don't bitpack the gamethread specific boolean. Change 3036906 on 2016/07/04 by bruce.nesbit Fixed a typo in HasDefaultBuildSettings - (bCompi8leLeanAndMeanUE should be bCompileLeanAndMeanUE) #tests Compiled Change 3036929 on 2016/07/04 by James.Golding UE-32405 Label Rotator components X/Y/Z instead of Roll/Pitch/Yaw Change 3036930 on 2016/07/04 by James.Golding UE-30414 Move constraint warnings to Message Log Change 3036931 on 2016/07/04 by James.Golding PR #2427: SkeletalMeshMerge now can transform the UVs of the source meshes. (Contributed by Bogustus) Change 3037123 on 2016/07/04 by Ori.Cohen Added physical animation preview in PhAT as well as physical animation profiles. Change 3037420 on 2016/07/05 by Jurre.deBaare Moved BodySetup_DEPRECATED out of WITH_EDITORONLY_DATA since it's being used in postload (fixes shipping builds) #jira UE-32771 Change 3037702 on 2016/07/05 by Thomas.Sarkanen Copying change 3037701 from Release-4.12: Fixed crash when viewing uncompressed animation Made sure that objects required by the animation evaluation are set up when performing game-thread side work in the editor. #jira UE-32715 - Crash when selecting "show" > "uncompressed animation" in Persona Change 3037837 on 2016/07/05 by Marc.Audy sound stats will now still be displayed when creating a new audio device #jira UE-32743 [CL 3038035 by Marc Audy in Main branch]
2016-07-05 14:25:57 -04:00
Volume *= AudioDevice->GetPlatformAudioHeadroom();
Volume = FMath::Clamp(Volume, 0.0f, MAX_VOLUME);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3090553) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3060205 on 2016/07/21 by Zak.Middleton #ue4 - Don't strip map/package name from shipping on dedicated server in UGameInstance::StartGameInstance(), to allow specifying map name on servers via commandline. Don't ever parse "-replay" on dedicated servers. #jira UE-29424 github #2273 Change 3061365 on 2016/07/22 by Jon.Nabozny Fix single frame character flip on death in ShooterGame. #jira UE-28053 Change 3061370 on 2016/07/22 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. #jira UE-33463 Change 3061406 on 2016/07/22 by Lukasz.Furman deprecated blueprint interface for avoidance groups, added new set of functions working with FNavAvoidanceMask struct instead of packed flags #jira UE-32625 Change 3061847 on 2016/07/22 by Bob.Tellez Duplicating CL#3058203 from //Fortnite/Main #UE4 Clearing pin links for fixed up BT nodes so they are not asymmetrical by the time the node gets destroyed, causing an ensure to fail. Also removing the replaced nodes so they are no longer saved in the package. Change 3063080 on 2016/07/25 by Benn.Gallagher Fixes to APEX rendering artefacts, by discarding all incoming render data from the APEX asset and skinning our render data to the simulation mesh. #jira UEFW-182 Change 3063119 on 2016/07/25 by Ori.Cohen Fix constraint index not being assigned correctly. Also expose FindConstraintBoneName to blueprints #JIRA UE-33716 Change 3063956 on 2016/07/25 by Ori.Cohen Fix SetRootBodyIndex so that it uses world space transform instead of ref skeleton. Fixes a few issues when using ragdolls on skeletal mesh assets that were imported with offset/rotation. Also fix crash when opening up old physics asset and changing its mesh. #JIRA UE-33753 #JIRA UE-33754 Change 3064846 on 2016/07/26 by Benn.Gallagher Fixed crash when loading skeletal meshes with clothing in -game #jira UE-33771 Change 3065237 on 2016/07/26 by Ori.Cohen Fix physics handle component not accounting for bone rotation/offset Change 3065241 on 2016/07/26 by Ori.Cohen Fix constraint component not using root body when no bone name is provided. Change 3069508 on 2016/07/28 by Aaron.McLeran Adding debug exec commands to help with debugging audio Solos sounds when using the following exec commands: - AudioSoloSoundWave Solos sounds with the given wave name - AudioSoloSoundClass Solos sounds with the given sound class - AudioSoloSoundCue Solos sounds with the given sound cue name -All solo commands can be active at the same time and will solo sounds that match all their substring name searches. - Only active in non-shipping builds Change 3070857 on 2016/07/29 by Ori.Cohen Expose Grab Rotation for physics handle component. Also brought over changes from Jeff.F where we can now specify hard vs soft physics handle Change 3072817 on 2016/08/01 by Wes.Hunt turn off optimizations to speed up build times. ~45s->~5sec apiece. Change 3073855 on 2016/08/02 by Zak.Middleton #ue4 - Fix tooltip text for p.NetEnableListenServerSmoothing command. Change 3074325 on 2016/08/02 by Aaron.McLeran UE-34081 Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback - Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue). - Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread. - Implementing 3003851 from UT into Dev-Framework. Change 3075259 on 2016/08/03 by James.Golding Fix up my ProcMeshComp test BPs Change 3076637 on 2016/08/03 by Aaron.McLeran UE-34081 Adjustments to procedural sound wave implementation - Cleaned up base class implementation of GeneratePCMData - Calls bound callback function first if there aren't enough samples available, then pumps the enqueued audio buffers - Wrote a prototype gameplay C++ class that implements this to test procedural sound wave generation with a sine tone and to test not immediately returning audio when called back (to test the empty buffer copy code). Change 3077340 on 2016/08/04 by Marc.Audy Minor header cleanups and readability changes Change 3079669 on 2016/08/05 by Aaron.McLeran OR-26580 Implementing 3071258 to Dev-Framework Change 3080958 on 2016/08/08 by Aaron.McLeran UE-34325 In process audio resource is corrupted during level change. - When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash - Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds. #tests ran repro case described in bug several times without crashing (was previous 100% repro) Change 3081314 on 2016/08/08 by Marc.Audy Trim DSO components that no longer have an archetype in the class hierarchy #jira UE-28374 Change 3082356 on 2016/08/09 by Marc.Audy Always clear lifespan timers on EndPlay Change 3082680 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082731 on 2016/08/09 by Aaron.McLeran UE-30629 "FXAudio2SoundSource contains NaN in channel" occur in test ShooterGame build - Issue was inverse transform was uninitialized in first update tick of the audio device. If a sound is trying to play in the first update tick, it'd generate NaNs as it tries to transform sound positions relative to an unitialized inverse listener transform - Fix is to update listener transform BEFORE updating sounds. - Also added an initialization to the inverse listener transform for good measure Change 3082732 on 2016/08/09 by Aaron.McLeran Removing log spam on local player node Change 3083051 on 2016/08/09 by Marc.Audy FLocalPlayerContext functions no longer check by default #jira UE-33370 Change 3083271 on 2016/08/09 by Dan.Reynolds Checking in QA test map for procedural sound waves -Added code for a UQAProceudralSoundWave that generates a sine tone that can be set by hz or midi note - Added BP code which uses the procedural sound wave and does some melody generation. Change 3083947 on 2016/08/10 by Lukasz.Furman fixed navigation modifier export for capsule components #ue4 Change 3084594 on 2016/08/10 by Marc.Audy Enable threaded audio again Change 3086237 on 2016/08/11 by Marc.Audy PR #2579: New feature: client-side level streaming (Contributed by slonopotamus) #jira UE-32896 Change 3086544 on 2016/08/11 by Michael.Noland Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well #jira UE-34223 #tests Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc... Change 3087280 on 2016/08/12 by Marc.Audy Fatal error including the path if a physics module fails to load Change 3088105 on 2016/08/12 by Marc.Audy Strip native components that no longer exist from BP CDOs as well. #jira UE-28374 [CL 3090563 by Marc Audy in Main branch]
2016-08-16 12:05:05 -04:00
Volume = FSoundSource::GetDebugVolume(Volume);
// Set whether to apply reverb
SetReverbApplied(true);
Copying //UE4/Dev-Framework to //UE4/Main @ 2775446 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720537 on 2015/10/07 by Aaron.McLeran Audio Optimization: Implementing an audio update delta time so audio isn't updated with every engine tick Change 2746582 on 2015/10/29 by Aaron.McLeran Implementing single ray-cast sound occlusion - Fixing/Implementing sound occlusion using one ray cast - Update rate of the ray cast is conifgurable by the user - User can enabled/disable occlusion and set various properties of the occlusion at the audio component level - Occlusion ray-casts are made at a slower rate than the audio engine is updated - The following properties are supported: * LowPassFilterFrequency (the LPF cutoff frequency of the per-voice filter to apply if a sound is occluded) * OcclusionVolumeAttenuation (the volume attenuation to apply to sounds that are occluded) * OcclusionInterpolationTime (how fast a sound moves from occluded to unoccluded... allows user-defined interpolation times, avoids fast parameter setting for smoother transitions) - Fixed how low-pass filter frequency is applied on platforms that support it. * Changed the older HighFrequencyGain parameter to a more understandable and correct LowPassFilterFrequency parameter * Updated the parameter for the various other features that use per-voice LPF (e.g. audio volumes, distance-based filtering) * Added backward-compatibility code to take old HighFrequencyGain params to new LowPassFilterFrequency params. * At the lowest level, there is only one filter which is applied to a sound, but the parameter that has the lowest cutoff frequency is the one used * Fixed how the parameter is applied at the lower-level in XAudio2 and CoreAudio. The old parameter was incorrectly applied. * XAudio2 documentation on the low-pass-fitler frequency cutoff param is confirmed incorrect through testing. #rb zak.middleton Change 2765174 on 2015/11/12 by Aaron.McLeran UE-23091 More fixage for NaN audio log spam Last checkin for this (CL 2760896) was fixing a legit issue but there was still an issue that I was rarely catching during the FN gate encounter in AITestbed after about 5 min of gate defense. To track down, I added a lot more logging and asserts on NaN numbers in the audio code, enabled ENABLE_NAN_DIAGNOSTIC in UnrealMathUtility.h. - Was able to trace another cause of the NaNs in audio to 2 uninitialized variables in SoundAttenuationSettings struct: OmniRadius and StereoSpread. - Zak M suggested the change of the const ref position vector in ListenerPosition and the usage of GetSafeNormal() in Audio.cpp since the value returned by GetLocation() is a temporary and Normalize() is unsafe. - I removed the flag for the XAudio2 call to compute doppler since we don't use that value and it could've been as source of more NaNs in X3DAudioCalculate #codereview Zak.Middleton #rb Zak.Middleton Change 2765467 on 2015/11/13 by James.Golding - Allow -ms option to work with 'stat dumphitches' for controlling min time logged #rb gil.gribb Change 2765746 on 2015/11/13 by Benn.Gallagher Added buckets for update rate shift tags (for staggering anim updates) #jira UE-23213 #rb Bruce.Nesbit Change 2765747 on 2015/11/13 by Benn.Gallagher Fixes for bone length calculation in anim dynamics chains. #rb Bruce.Nesbit Change 2765749 on 2015/11/13 by Benn.Gallagher Removed allocations from local CS blends for skeletal controls. #rb Bruce.Nesbit Change 2765752 on 2015/11/13 by Benn.Gallagher Lod mapping support for URO customization #jira UE-23211 #rb Bruce.Nesbit Change 2765965 on 2015/11/13 by Marc.Audy Remove outdated code in LoadMap previously used for matching up downloaded packages from servers. These code paths no longer operate, but in the case where a PIE client was connecting to a non-PIE server (not really supported, but possible), it would cause the Editor Level package to be flagged as as PIE package and cause a crash on exit of PIE #jira UE-21181 #rb Josh.Markiewicz Change 2766071 on 2015/11/13 by Mieszko.Zielinski Fixed dumb mistake in AEQSTestingPawn::PostLoad #UE4 the 'bTickDuringGame == bTickDuringGame' thing #rb John.Abercrombie Change 2766086 on 2015/11/13 by Mieszko.Zielinski Exposing NavModifierComponent to ENGINE_API #UE4 #codereview Lukasz.Furman Change 2766345 on 2015/11/13 by Mieszko.Zielinski No longer compiling AISystem's creation out from client builds #UE4 Instead AISystem's instantiation on clients is configurable via UAISystemBase::bInstantiateAISystemOnClient config variable Change 2766346 on 2015/11/13 by Mieszko.Zielinski Improvements to EQS test scoring function preview #UE4 #rb Lukasz.Furman Change 2766528 on 2015/11/13 by Stan.Melax multiple materials/chunks on a single cloth sim mesh This supposedly used to work in 4.7 but broke for 4.8 It looks like previous change 2493547 may have introduced the condition statement that makes multiple materials not include all of there verts. Changing this to instead check for the bounds on the skinningmap instead of the NumRealSimVerts which doesn't look like it takes the offset into consideration. jira: #UE-23300 https://jira.ol.epicgames.net/browse/UE-23300 https://answers.unrealengine.com/questions/287833/apex-not-working-on-multiple-materials-since-48.html Double tested code change with test asset from https://jira.ol.epicgames.net/browse/UE-10674 #rb Benn.Gallagher Change 2766546 on 2015/11/13 by Marc.Audy Throw warning for orphaned looping sounds caused by a looping sound node Don't do somewhat expensive (due to weak pointer) orphaned sound checks in test or shipping #rb Aaron.McLeran Change 2766917 on 2015/11/14 by Jurre.deBaare Fix UE4-23349 Simplygon doens't support sub 64 pixel textures Change 2767742 on 2015/11/16 by Marc.Audy Restructure SignificanceManager to store significance manager references in a FGCObject Module class instead of using a singleton. Improve performance by eliminating StaticFindObjectFast calls in ::Get and force inlining Get calls #rb Zak.Middleton, Rob.Manuszewski Change 2767827 on 2015/11/16 by Zak.Middleton #ue4 - Perf: avoid SmoothClientPosition() calls once the target mesh offset has been reached. - New flag bNetworkSmoothingComplete indicates whether smoothing has reached the destination. This is set to false when a new network position is received. - Also fixes trying to smooth rotation towards identity rotation before receiving network updates. - Deprecated FNetworkPredictionData_Client_Character::CurrentSmoothTime in favor of saving last update time, to prevent needing to update time every tick (since we skip updates now). #rb Dan.Youhon Change 2768070 on 2015/11/16 by Marc.Audy Change StaticDuplicateObject and DuplicateObject to take FName instead of char* (existing usages can automatically convert to FName so no backwards compatibility issues) Fixup usages to avoid unnecessary string -> char* -> name conversions Change AActor::CreateComponentFromTemplate to take an FName instead of FString, deprecated FString version #rb Gil.Gribb Change 2768121 on 2015/11/16 by Marc.Audy Forceinline GetFName Change 2768161 on 2015/11/16 by Aaron.McLeran Checking occlusion back in - Bug was due to improper interpolation of LPFFrequency values in audio volumes. Change 2769428 on 2015/11/17 by Thomas.Sarkanen Fixed backwards-compatibility issues with FExposedValueCopyRecord Added PostSerialize function to patch up older data to the new format (copies properties->property FNames). Made sure to zero FExposedValueCopyRecord in its constructor, prevents uninitialized variable issues when generating CRCs. This is necessary despite these members being UPROPERTYs because they are simply built on the stack then stuffed into the new CDO during compilation. UE-23268 - EDITOR CRASH: Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) #rb James.Golding #codereview Mike.Beach,Bob.Tellez Change 2769488 on 2015/11/17 by Benn.Gallagher DrawCanvas and debug string support for skeletal controls - accessed using "Skeletal Controls" option in Show->Display Info in Persona #rb Martin.Wilson Change 2769545 on 2015/11/17 by Benn.Gallagher Added space conversion options to copy bone node. #jira OR-9430 #rb Martin.Wilson Change 2770228 on 2015/11/17 by Marc.Audy Fix cause of assert firing when detaching if AttachTo(AttachParent) returns false #rb Ori.Cohen #jira UE-23366 Change 2770489 on 2015/11/17 by Marc.Audy Make ::Serialize WITH_EDITORONLY_DATA since it did nothing otherwise Change 2770761 on 2015/11/17 by Aaron.McLeran Removing optimization disablement - Forgot to remove these lines before checking in/testing. Change 2771375 on 2015/11/18 by Thomas.Sarkanen Added initialzation of internal state machine desc ptrs to (finally) remove random crashes when using sub-state machines #rb Benn.Gallagher Change 2771697 on 2015/11/18 by Jeff.Farris Sensible defaults for APlayerController::ClientPlayCameraAnim and ClientPlayCameraShake #rb marc.audy Change 2771755 on 2015/11/18 by Marc.Audy Put back in the recursion block for destroy actor #rb James.Golding Change 2772217 on 2015/11/18 by Marc.Audy Update axis inversion to work the same way as sensitivity instead of old problematic way Also change to use Reset instead of Empty(Array.Num()) #rb Jeff.Farris Change 2772686 on 2015/11/18 by Aaron.McLeran Fixing HRTF spatialization coordinate bug. Don't need to convert to xaudio2 coordinates for HRTF spatialization #rb chad.taylor Change 2772766 on 2015/11/18 by Aaron.McLeran Fixing HRTF spatialization with xaudio2 voice pools - Issue was caused by 2 issues: - effect chains weren't properly clearing their state between uses (SetEffectChain(nullptr) releases the effect for use with other voices) - Not re-setting MaxEffectChainChannels = 0 in CreateSource() was causing re-used SoundSources to release their XAudio2 voices to the wrong pool. #rb chad.taylor Change 2773027 on 2015/11/19 by Thomas.Sarkanen PR #1765: Git Plugin can find the git.exe binary installed on the Local AppData user directory (Contributed by SRombauts) #rb Thomas.Sarkanen Change 2773142 on 2015/11/19 by Benn.Gallagher Optimized SafeSetCSBoneTransforms, no longer doing 2 iterations over the whole pose. - Only iterating beyond the index of the first bone transform, cutting off all bones before - No longer using a bone mask the size of the skeleton, just an array of interesting nodes - No longer attempting to convert a transform if it isn't necessary (which was happening a lot) #rb Laurent.Delayen Change 2773212 on 2015/11/19 by Richard.Hinckley #jira UEDOC-2685 Removing ugly comment. Not going to remove the node itself for backward compatibility. Change 2773351 on 2015/11/19 by Zak.Middleton #orion - Make sure we don't skip a final visual update when character mesh interpolation tries to stop smoothing once it reaches its destination. We keep setting bNetworkSmoothingComplete to false until the first visual update, at which point if it remains true we will stop getting updates. #rb Dan.Youhon Change 2773599 on 2015/11/19 by Marc.Audy Fix shadow variable, initialization order, and incorrect placement of ENGINE_API that fails compiles on clang #codereview Aaron.McLeran Change 2773661 on 2015/11/19 by Richard.Hinckley #jira UEDOC-2685 Following up by deprecating the CastToPlayerController function for 4.11. Change 2774707 on 2015/11/19 by Stan.Melax FCollisionQueryParams constructor API pitfall Deprecating something that will call the unintended constructor if the programmer provides a string literal instead of explicitly creating an FName. So this line of code: FCollisionQueryParams Param(FName(TEXT("DragDropTrace"))); will invoke: FCollisionQueryParams::FCollisionQueryParams(FName,bool=false,...) But this line of code: FCollisionQueryParams Param(TEXT("DragDropTrace")); invokes: FCollisionQueryParams::FCollisionQueryParams(bool) Yes that actually happens, the string literal (the TEXT("whatever")) ends up specifies a bool parameter instead of a FName parameter. So the name is lost and a flag (that is usually set to false) is now set to true (since the string literal address is non-NULL). Yeah, that's could potentially be not what the programmer had intended. It looks like this interface was introduced in CL 1792949 back in august 2013. Since its been a couple of years, we'll phase it out using the deprecation approach. Making an API change would break things for existing projects. If it had been a more recent change we could have probably just gone down to a single constructor right away. Figured out that going one step further and removing bool param's default and adding a default constructor would minimize the number of places that will be hit with this deprecation. So, yes this is *increasing* the number of construtors temporarily, but this solution has minimal impact on the community. Later after other to-be-deprecated constructor gets removed, the two remaining can be combined into one with defaults for all parameters. see also https://udn.unrealengine.com/questions/269512/dangerous-fcollisionqueryparams-overloads.html #codereview ori.cohen [CL 2775460 by Marc Audy in Main branch]
2015-11-20 11:02:37 -05:00
SetFilterFrequency();
// Avoid doing the log calculation each update by only doing it if the volume changed
if (Volume != VolumePreviousUpdate)
{
VolumePreviousUpdate = Volume;
static const int64 MinVolumeMillibel = -12000;
if (Volume > 0.0f)
{
// Convert volume to millibels.
SLmillibel MaxMillibel = 0;
(*SL_VolumeInterface)->GetMaxVolumeLevel(SL_VolumeInterface, &MaxMillibel);
SLmillibel VolumeMillibel = (SLmillibel)FMath::Clamp<int64>((int64)(2000.0f * log10f(Volume)), MinVolumeMillibel, (int64)MaxMillibel);
SLresult result = (*SL_VolumeInterface)->SetVolumeLevel(SL_VolumeInterface, VolumeMillibel);
check(SL_RESULT_SUCCESS == result);
}
else
{
SLresult result = (*SL_VolumeInterface)->SetVolumeLevel(SL_VolumeInterface, MinVolumeMillibel);
check(SL_RESULT_SUCCESS == result);
}
}
}
/**
* Plays the current wave instance.
*/
void FSLESSoundSource::Play( void )
{
if( WaveInstance )
{
// Reset the previous volume on play so it can be set at least once in the update function
VolumePreviousUpdate = -1.0f;
Copying //UE4/Dev-Platform to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2719147 on 2015/10/07 by Mark.Satterthwaite Allow the shader cache to perform some precompilation synchronously on load before falling back to asynchronous compilation to balance load times against total time spent precompiling. Added a stat to the group that reports how long the precompile has been running until it completes so it is easier to track. Change 2719182 on 2015/10/07 by Mark.Satterthwaite Refactor the ShaderCache's internal data structures and change the way we handle recording whether a particular predraw state has been submitted to try and make it more efficient. Change 2719185 on 2015/10/07 by Mark.Satterthwaite Merging CL #2717701: Try and fix random crashes on Mac when manipulating bound-shader-states caused by ShaderCache potentially providing a bogus shader state pointer on exit from predraw. Change 2719434 on 2015/10/07 by Mark.Satterthwaite Make sure that Mac ensures reports have a source context and a sane callstack when sent to the crash-reports server. Change 2724764 on 2015/10/12 by Josh.Adams [Initial AppleTV support] Merging //depot/YakBranch/... to //UE4/Dev-Platform/... Change 2726266 on 2015/10/13 by Lee.Clark PS4 - Calc reserve size required for DMA copy when using unsafe command buffers Change 2726401 on 2015/10/13 by Mark.Satterthwaite Merging CL #2716418: Fix UE-15228 'Crash Report Client doesn't restart into project editor on Mac' by reporting the original command line supplied by LaunchMac, not the modified one that strips the project name. The CRC can then relaunch as expected. #jira UE-15228 Change 2726421 on 2015/10/13 by Lee.Clark PS4 - Don't try to clear invalid targets Change 2727040 on 2015/10/13 by Michael.Trepka Merging CL 2724777 - Fixed splash screen rendering for images with DPI different than 72 Change 2729783 on 2015/10/15 by Keith.Judge Fix huge memory leak in Test/Shipping configurations, caused because I am a numpty. Change 2729847 on 2015/10/15 by Mark.Satterthwaite Merging CL #2729846: On OS X unconstrain windows from the dimension of the parent display when in Windowed mode - it is OK for them to be larger in this case. They do need to be repositioned if on the Primary display so that they don't creep under the menu bar and become unmovable/unclosable and Fullscreen windows still need to be constrained to a single display. We can now take screenshots of windows that are larger than the display & not get grey bars beyond the cutoff. #jira UE-21992 Change 2729865 on 2015/10/15 by Keith.Judge Fast semantics - Finish up resource transitions, adding resource decompression where appropriate and using non-fast clears where we can't determine the resource transition. Change 2729897 on 2015/10/15 by Keith.Judge Fast Semantics - Make sure all GetData() calls are made safe with GPU fences. Change 2729972 on 2015/10/15 by Keith.Judge Removed the last vestiges of ID3D11DeviceContext/ID3D11DeviceContext1 from the Xbox RHI. Everything now uses ID3D11DeviceContextX directly. This should be marginally quicker as it stops a double call to ClearState(). Change 2731503 on 2015/10/16 by Keith.Judge Added _XDK_VERSION to the DDC key for textures, which should solve the issue of the tiling mode changing in August XDK (and future changes Microsoft may inflict). Change 2731596 on 2015/10/16 by Keith.Judge Fast Semantics - Add deferred resource deletion queue to make deleted resources be actually deleted a number of frames later so that the GPU is definitely finished with them. Hooked up the temporary SRVs for dynamic VBs as a first step. Change 2731928 on 2015/10/16 by Michael.Trepka PR #1659: Mac/Build.sh handles additional arguments (Contributed by judgeaxl) Change 2731934 on 2015/10/16 by Michael.Trepka PR #1618: added clang 3.7.0 -Wshift-negative-value ignore in JpegImageWrapper.cpp (Contributed by bsekura) Change 2732018 on 2015/10/16 by Mark.Satterthwaite Emit a shader code cache for each platforms requested shader formats, this is separate to the targeted formats as not all can or need to be cached. - The implementation extends the ShaderCache's hooks in FShaderResource's serialisation function to capture the required shaders. - Each target platform has its own list of cached shader formats, analogous to the list of targeted RHIs. Presently only the Mac implements this. - Code cached shaders are now compressed (for size) to reduce the overhead associated with keeping all the shader code around - this works esp. well for text-based formats like GLSL. Change 2732365 on 2015/10/16 by Josh.Adams - Packaging a TVOS .ipa now works (still haven't tried any of the Editor integration like Launch On) Change 2733170 on 2015/10/18 by Terence.Burns Fix for Android IAP query not returning entire inventory. Change 2733174 on 2015/10/18 by Terence.Burns Fix Movie player issue where wait for movie to finish isnt being respected. Seems a stray bUserCanceled event flag was causing this not to be observed. Added some verbose logging to apple movie player. Change 2733488 on 2015/10/19 by Mark.Satterthwaite Added the ability to merge the .ushadercache files used by the ShaderCache to store shader & draw state information. - Fixed a bug that would cause invalid shader membership and draw state information to be logged. - Added a separate command-line tool to merge shader cache files, currently Mac-only but in theory should work on other platforms too. Change 2735226 on 2015/10/20 by Mark.Satterthwaite Fix temporal AA rendering on GL/Mac OS X - you can't rely on EyeAdaptation values unless SM5 is available so only perform that code on SM5 & we must correctly clamp saturate(NaN) to 0 as the current hlslcc won't do that for us (& is required by the HLSL spec). The latter used to be clamped in the AA_ALPHA && AA_VELOCITY_WEIGHTING code block that was removed recently. #jira UE-21214 #jira UE-19913 Change 2736722 on 2015/10/21 by Daniel.Lamb Improved performance of cooking stats system. Change 2737172 on 2015/10/21 by Daniel.Lamb Improved cooking stats performance for ddc stats.
2015-12-10 16:56:55 -05:00
// Update volume now before starting play
Paused = false;
Update();
// set the player's state to playing
SLresult result = (*SL_PlayerPlayInterface)->SetPlayState(SL_PlayerPlayInterface, SL_PLAYSTATE_PLAYING);
check(SL_RESULT_SUCCESS == result);
Playing = true;
}
}
/**
* Stops the current wave instance and detaches it from the source.
*/
void FSLESSoundSource::Stop( void )
{
IStreamingManager::Get().GetAudioStreamingManager().RemoveStreamingSoundSource(this);
if (SL_PlayerPlayInterface)
{
// set the player's state to stopped
SLresult result = (*SL_PlayerPlayInterface)->SetPlayState(SL_PlayerPlayInterface, SL_PLAYSTATE_STOPPED);
check(SL_RESULT_SUCCESS == result);
}
if (WaveInstance)
{
// Unregister looping callback
if (WaveInstance->LoopingMode != LOOP_Never)
{
SLresult result = (*SL_PlayerBufferQueue)->RegisterCallback(SL_PlayerBufferQueue, NULL, NULL);
check(SL_RESULT_SUCCESS == result);
}
}
Copying //UE4/WEX-Staging/... to //UE4/Main (Source: //WEX/Main @ 3580612) #rb none #lockdown nick.penwarden ================================================================================================= MAJOR FEATURES + CHANGES ================================================================================================= Change 3526838 by David.Nikdel #WEX: make map elements support TitleProperty on their values in the editor #JIRA: none Change 3517937 by Ben.Zeigler #jira UE-46574 Deprecate IPlatformChunkInstall::SetChunkInstallDelgate as it was spelled wrong, was only half implemented, and did not support success vs failure Replace with AddChunkInstallDelegate, which supports a bool error code and is bound once instead of separately for each chunk. All implementations support this delegate at a basic level, although several could be improved to call the failure delegate in more cases Change 3498765 by David.Nikdel #WEX: Added a way to bind a delegate that fires whenever an analytics event is queued. - Bind this delegate and use it to log analytics events (for now) #JIRA: none Change 3495796 by Josh.May #WEX #JIRA: None - Reworked the LoadTimes.DumpReport console command to accept command arguments and added options for alphanumeric sorting (-alphasort), tweakable asset time cutoff (lowtime=X), and file output to the Saved/Profiling directory (file). - Added hooks for automatically generating load time reports for every map load (enabled using the DUMP_LOAD_REPORT_PER_MAP #define). Change 3489241 by Josh.Markiewicz #UE4 - First unfinished pass to GoogleIOS - SDK auth token data needs to copy auth into TMap properly #jira none Change 3487767 by David.Nikdel #Analytics: Make FAnalyticsEventAttribute support typed values - This makes sure the value types in the resultant JSON reflect the code. - Added support for Number (double), Boolean, Null, and JsonFragment types - This should make it so we don't have to whitelist everything to be converted to number on the Grafana processing side. - Made all attributes on FAnalyticsEventAttribute immutable #JIRA: WEX-6696, WEX-6706 Change 3478818 by Chris.Babcock Add detection of Houdini (running on Intel Android CPU) #jira WEX-5009 #ue4 #android #robomerge R1.2 Change 3475449 by Allan.Bentham Add disable force inline option for iOS build, enabled for WEX. #jira UEMOB-167 [CL 3588553 by Peter Sauerbrei in Main branch]
2017-08-15 16:16:21 -04:00
DestroyPlayer();
ReleaseResources();
Paused = false;
Playing = false;
SLESBuffer = nullptr;
Buffer = nullptr;
DestroyPlayer();
ReleaseResources();
Paused = false;
Playing = false;
SLESBuffer = nullptr;
Buffer = nullptr;
FSoundSource::Stop();
}
/**
* Pauses playback of current wave instance.
*/
void FSLESSoundSource::Pause( void )
{
if( WaveInstance )
{
Paused = true;
// set the player's state to paused
SLresult result = (*SL_PlayerPlayInterface)->SetPlayState(SL_PlayerPlayInterface, SL_PLAYSTATE_PAUSED);
check(SL_RESULT_SUCCESS == result);
}
}
/**
* Returns TRUE if the source has finished playing
*/
bool FSLESSoundSource::IsSourceFinished( void )
{
SLuint32 PlayState;
// set the player's state to playing
SLresult result = (*SL_PlayerPlayInterface)->GetPlayState(SL_PlayerPlayInterface, &PlayState);
check(SL_RESULT_SUCCESS == result);
if( PlayState == SL_PLAYSTATE_STOPPED )
{
return true;
}
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3155909) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3118534 on 2016/09/08 by Steve.Cano Certain non-looping SFX would not properly fire "Stop" events when the effect was finished, and therefore Sound Mixes that should end at the end of a SFX (such as ducking the BGM volume) were not properly finishing. Fixing the IsSourceFinished call to check the Position of the player to determine if we are actually done playing, which was not working properly before for PCM sounds. #jira UE-35016 #ue4 #android Change 3119125 on 2016/09/09 by Dmitriy.Dyomin Mobile launcher profile wizard: Fixed case where DLC will not be built if user selects non Development build configuration Fixed case where project maps will be empty if UE4 and project located on different drives Change 3122584 on 2016/09/13 by Allan.Bentham Add simple clip plane for planar reflections. #jira UE-32449 Change 3129390 on 2016/09/16 by Chris.Babcock Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3129867 on 2016/09/18 by Jack.Porter Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7) #jira UE-35598 Change 3131961 on 2016/09/20 by Allan.Bentham Fix missing editor widgets and gamma incorrectness when mobileHDR == false. Fix editor widget rendering when hdr encoding is active. #jira UE-34281 Change 3132717 on 2016/09/20 by Chris.Babcock Add $S(ProjectDir) to UPL #jira UE-35483 #ue4 Change 3132940 on 2016/09/20 by Chris.Babcock Corrected case for some include files (contributed by Yukariin) #jira UE-33816 #PR #2636 #ue4 #android Change 3134098 on 2016/09/21 by Allan.Bentham Mobile CSM shadow quality controllable via quality levels. #jira UEMOB-74 Change 3134931 on 2016/09/21 by Chris.Babcock Allow Windows types in vulkan.h #jira UE-36270 #ue4 #vulkan Change 3135380 on 2016/09/21 by Dmitriy.Dyomin Plugin which exposes some of BuildPatchServices functionality to BP. Inteded to be used on mobile platforms for donwloading game content. Right now misses: IOS download directory and iOS WiFi detection #jira UEMOB-157 Change 3136004 on 2016/09/22 by Allan.Bentham Add project option to disable vertex fog on mobile. Vertex fog is now enabled even when mobile HDR is not. #jira UEMOB-148 Change 3137377 on 2016/09/22 by Dmitriy.Dyomin Fix compile error from CL# 3135380 Change 3139571 on 2016/09/26 by Jack.Porter Applied deferred change CL 3101462 to mobile to make planar reflections no longer update GPU particles Change 3139663 on 2016/09/26 by Jack.Porter Include Android shader cache files when packaging Change 3142839 on 2016/09/28 by Dmitriy.Dyomin Added WiFi connection detection on iOS Change 3142845 on 2016/09/28 by Jack.Porter Fixed various issues with TcpMessageTransport discovered when transferring automation testing screenshots from mobile devices - socket not readable or writable is not an error condition if output buffer is full - messages were previously limited to 64kb but screenshots overflowed this - messages over 8kb were not reliably received as the inbound buffer was full so the available bytes was always less than the message length - sending large messages was not reliable due to the output buffer being full Change 3143280 on 2016/09/28 by Jack.Porter Clear out UnbuiltInstanceBoundsList when async building a tree with no instances Change 3143282 on 2016/09/28 by Jack.Porter Fix issue where client functional tests in the current map do not appear on clients running with cooked content. Problem is that the AssetRegistry uses in-memory metadata created on load for currently-loaded assets, but cooked content only has the serialized AssetRegistry and individual assets do not contain any metadata. Change 3143808 on 2016/09/28 by Steve.Cano Assume that the app starts in focus at startup and don't wait for an "APP_EVENT_STATE_WINDOW_GAINED_FOCUS" event to fire, as this event will not come down from SplashActivity since it is not a NativeActivity. If the user then rotates the device in Sensor or FullSensor orientation during SplashActivity and forces an eglSurface recreation, the initial Create will properly execute if we're "in focus". Previously, the create-destroy-create cycle would not properly execute due to the EventManager thinking the app was not yet in focus, and would cause the second create to get a 0x3003 error (EGL_BAD_ALLOC) #jira UE-35004 #ue4 #android Change 3144880 on 2016/09/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3146220 on 2016/09/30 by Dmitriy.Dyomin Adjusted device button style to make it more readable. #jira UE-21881 Change 3146280 on 2016/09/30 by Dmitriy.Dyomin Replaced IBuildManifest::ComputeDownloadSize with a new function Change 3146302 on 2016/09/30 by Allan.Bentham Added more stringent checks for ES3.1 compatibility #jira UE-36241 Change 3146435 on 2016/09/30 by Jack.Porter Prevent landscape grass being duplicated for PIE, causing ensure #jira UE-36531 Change 3147532 on 2016/09/30 by Chris.Babcock Use .sh extension for Android install scripts on Linux #jira UE-36669 #ue4 #android #linux Change 3149851 on 2016/10/04 by Dmitriy.Dyomin Mobile: Added custom depth rendering Mobile: Added support for CustomDepth and SceneDepth in post-process materails Change 3149852 on 2016/10/04 by Dmitriy.Dyomin Fixed comments for SortBasePass console variable Change 3149857 on 2016/10/04 by Jack.Porter Remove dead code in ProceduralFoliageComponentDetails.cpp Change 3149863 on 2016/10/04 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3149896 on 2016/10/04 by Dmitriy.Dyomin Fixed: SkyLight makes level entire green on Android devices #jira UE-34469 Change 3150102 on 2016/10/04 by Jack.Porter Bring Protostar 4.13 fixes back to Dev-Mobile Engine - MaxDescriptorSets = 16384 to prevent crash on Mali - Include texture formats in FRenderTargetLayoutHashableStruct to solve RT aliasing issue - Use ERenderTargetLoadAction::EClear for planar reflection target to work around Adreno issue - Default Adreno to SPIR-V Contents - Disable fog, reduce CSM shadow quality, fix device profiles - Add PSO cache Change 3150113 on 2016/10/04 by Jack.Porter Ensure automation testing screenshots have Alpha=255 (fixes automation screenshots on Mobile) Change 3150231 on 2016/10/04 by Jack.Porter Use a new SessionID GUID each time you use the launcher to launch a session. Change 3150608 on 2016/10/04 by Jack.Porter Changes for automated testing screenshots on Android. - Prevent automation screenshots from changing resolution on platforms with fixed resolution - Set GRHIAdapterInternalDriverVersion for OpenGL and Vulkan - Parse ImgTec/ARM/Qualcomm GRHIVendorId on OpenGL - Added helper to convert GRHIVendorId to string Change 3151318 on 2016/10/04 by Jack.Porter Fixed compile error with AdapterVendor Change 3151366 on 2016/10/04 by Jack.Porter Prevent FTcpMessageTransportConnection deadlock on device disconnect Change 3151397 on 2016/10/05 by Dmitriy.Dyomin More consistent BP categories for Mobile Patching utils Change 3151576 on 2016/10/05 by Dmitriy.Dyomin Added on screen warning for invalid reflection captures, can be seen only in game running with FeatureLevel < SM4 and no valid capture data Change 3151795 on 2016/10/05 by Dmitry.Rekman Linux: update UBT to use a v8 multiarch toolchain. - Also added toolchain build scripts and ct-ng configs. Change 3151966 on 2016/10/05 by Allan.Bentham Add mobile support for inverse opacity to mobile scene captures as well as SCS_SceneColorSceneDepth and SCS_SceneDepth. #jira UEMOB-106 Change 3152664 on 2016/10/05 by Chris.Babcock Merging //UE4/Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3152675 on 2016/10/05 by Will.Fissler Fixed patching so that it searches for pak files as well as pkg files. #test Patch for QAGame Change 3152728 on 2016/10/05 by Chris.Babcock Update ReflectionCaptureDDCVer (need to resave maps) Change 3152910 on 2016/10/05 by Dmitry.Rekman Linux: Fix toolchain for non-AutoSDKs (github) case (UE-36899). Change 3152966 on 2016/10/05 by Dmitry.Rekman Linux: Fix test for the installed SDK (UE-36899). Change 3153004 on 2016/10/05 by Dmitry.Rekman Linux: fix CIS (UT server case-sens errors). Change 3153694 on 2016/10/06 by Jack.Porter Rollback ReflectionCaptureDDCVer change as bug intended to fix UE-36919 does not repro Change 3154766 on 2016/10/07 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3154833 on 2016/10/07 by Jack.Porter Fix merge error of MobileShadingRenderer.cpp Change 3154848 on 2016/10/07 by Allan.Bentham Fix mobile scene capture's clear code Change 3154875 on 2016/10/07 by Allan.Bentham fix vk build issues Change 3154941 on 2016/10/07 by Allan.Bentham Fix gearvr build fail Change 3154950 on 2016/10/07 by Allan.Bentham Fix shadowed local variable vk build warning on android. Change 3155909 on 2016/10/07 by Ben.Marsh UBT: Attempt to work around C1076 error ("internal heap limit reached: use /Zm to specify a higher limit"), encountered when building with XGE. Specify the AutoReserveMemory attribute on XGE tool tasks that manipulate precompiled headers. [CL 3155988 by Chris Babcock in Main branch]
2016-10-07 23:11:00 -04:00
if (WaveInstance && WaveInstance->LoopingMode == LOOP_Never)
{
// if it wasn't that simple, see if we're at the end position
SLmillisecond PositionMs;
SLmillisecond DurationMs;
result = (*SL_PlayerPlayInterface)->GetPosition(SL_PlayerPlayInterface, &PositionMs);
check(SL_RESULT_SUCCESS == result);
result = (*SL_PlayerPlayInterface)->GetDuration(SL_PlayerPlayInterface, &DurationMs);
check(SL_RESULT_SUCCESS == result);
// on some android devices, the value for GetPosition wraps back to 0 when the playback is done, however it's very possible
// for us to try to check for IsSourceFinished when the Position is genuinely "0". Therefore, we'll flip bHasPositionUpdated once
// we've actually started the sound to denote a wrap-back 0 position versus a real 0 position
if ((DurationMs != SL_TIME_UNKNOWN && PositionMs == DurationMs) || (PositionMs == 0 && bHasPositionUpdated))
{
return true;
}
else if (!bHasPositionUpdated && PositionMs > 0)
{
bHasPositionUpdated = true;
}
}
return false;
}
/**
* Queries the status of the currently associated wave instance.
*
* @return TRUE if the wave instance/ source has finished playback and FALSE if it is
* currently playing or paused.
*/
bool FSLESSoundSource::IsFinished( void )
{
if( WaveInstance )
{
// Check for a non starved, stopped source
if( IsSourceFinished() )
{
// Notify the wave instance that it has finished playing
WaveInstance->NotifyFinished();
return true;
}
else
{
if (bHasLooped)
{
switch (WaveInstance->LoopingMode)
{
case LOOP_Forever:
bHasLooped = false;
break;
case LOOP_Never:
bBuffersToFlush = true;
break;
case LOOP_WithNotification:
bHasLooped = false;
// Notify the wave instance that it has finished playing.
WaveInstance->NotifyFinished();
break;
};
}
}
return false;
}
return true;
}