Files
UnrealEngineUWP/Engine/Source/Runtime/IOS/IOSAudio/Private/IOSAudioDevice.cpp

306 lines
8.1 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
IOSAudioDevice.cpp: Unreal IOSAudio audio interface object.
=============================================================================*/
/*------------------------------------------------------------------------------------
Includes
------------------------------------------------------------------------------------*/
#include "IOSAudioDevice.h"
#include "AudioEffect.h"
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#include "ADPCMAudioInfo.h"
#include "AudioPluginUtilities.h"
DEFINE_LOG_CATEGORY(LogIOSAudio);
class FIOSAudioDeviceModule : public IAudioDeviceModule
{
public:
/** Creates a new instance of the audio device implemented by the module. */
virtual FAudioDevice* CreateAudioDevice() override
{
return new FIOSAudioDevice;
}
};
IMPLEMENT_MODULE(FIOSAudioDeviceModule, IOSAudio);
/*------------------------------------------------------------------------------------
FIOSAudioDevice
------------------------------------------------------------------------------------*/
static int32 SuspendCounter = 0;
void FIOSAudioDevice::ResumeContext()
{
if (SuspendCounter > 0)
{
FPlatformAtomics::InterlockedDecrement(&SuspendCounter);
if (AudioUnitGraph != NULL)
{
AUGraphStart(AudioUnitGraph);
}
if (OutputUnit != NULL)
{
AudioOutputUnitStart(OutputUnit);
}
UE_LOG(LogIOSAudio, Display, TEXT("Resuming Audio"));
}
}
void FIOSAudioDevice::SuspendContext()
{
if (SuspendCounter == 0)
{
FPlatformAtomics::InterlockedIncrement(&SuspendCounter);
if (OutputUnit != NULL)
{
AudioOutputUnitStop(OutputUnit);
}
if (AudioUnitGraph != NULL)
{
AUGraphStop(AudioUnitGraph);
}
UE_LOG(LogIOSAudio, Display, TEXT("Suspending Audio"));
}
}
void FIOSAudioDevice::IncrementSuspendCounter()
{
if(SuspendCounter == 0)
{
FPlatformAtomics::InterlockedIncrement(&SuspendCounter);
}
}
void FIOSAudioDevice::DecrementSuspendCounter()
{
if (SuspendCounter > 0)
{
FPlatformAtomics::InterlockedDecrement(&SuspendCounter);
}
}
void FIOSAudioDevice::UpdateDeviceDeltaTime()
{
DeviceDeltaTime = GetGameDeltaTime();
}
FIOSAudioDevice::FIOSAudioDevice() :
FAudioDevice(),
AudioUnitGraph(NULL),
OutputNode(0),
OutputUnit(NULL),
MixerNode(0),
MixerUnit(NULL),
NextBusNumber(0)
{
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3233741) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== [NOTE: Switch changes have been removed from this list, and will be in a comment in //UE4/Main/Engine/Build/Switch/SwitchChanges.txt] Change 3207431 on 2016/11/22 by Keith.Judge Make VectorSign on XB1 match (incorrect) SSE implementation rather than the reference FPU implementation. Too many things seem to rely on this to change the default behaviour now. #jira UE-36921 #jira UE-38560 Change 3208206 on 2016/11/22 by Josh.Adams - Changed plugins upgrading a content-only project to code-based, even if the modules inside aren't compiled for the current platform. There are issues with runtime not knowing the plugin isn't needed. The proper way is to non-whitelist the platform in the project, not in the modules, if you don't want it to upgrade the project. See the comments in this change for more info. #jira UE-38929 Change 3209137 on 2016/11/23 by Alicia.Cano Add a check to iOS tool chain for exception flag #jira UE-36528 #ios Change 3209296 on 2016/11/23 by Ben.Marsh Always send build failure notifications in Dev-Platform to Will.Fissler@epicgames.com and Owen.Stupka@epicgames.com Change 3211316 on 2016/11/28 by Joe.Barnes Fix some typos Change 3211318 on 2016/11/28 by Joe.Barnes Fix wrong function name in header file. Didn't match actual function name in RenderingThread.cpp Change 3213227 on 2016/11/29 by Dmitry.Rekman Add -fPIC to libwebsockets on Linux. Change 3213463 on 2016/11/29 by Nick.Shin helper build scripts for CentOS 7 Linux (via Docker) LINUX: pull source and compile: zlib openssl libcurl & libwebsockets using [ glibc 2.17 ] & [ gcc 4.8.5 ] Docker creates an image (that is essentially a CentOS box) and runs the build script within that environment (called a container). think of this as a VM -- but waaaaaaay better -- nothing is virtualized -- it's all on the metal. #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library #jira UEPLAT-1203 - Add Linux library for libwebsockets #jira UEPLAT-1204 - Rebuild libwebsockets with SSL Change 3213939 on 2016/11/29 by Michael.Trepka Ignore parent widget's geometry scale when showing a popup menu in a separate window #jira UE-38706 Change 3215583 on 2016/11/30 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3216345 on 2016/11/30 by Josh.Adams Better fix for poison proxy fix Change 3217106 on 2016/12/01 by Michael.Trepka Fixed a crash caused by an attempt to use FPlayWorldCommands::GlobalPlayWorldActions before it's initialized when showing suppressable warning dialogs in UEditorEngine::UpdateAutoLoadProject() #jira UE-38816 Change 3217223 on 2016/12/01 by Josh.Adams - Fixed some TEXT macro warnings that crept in from IWYU changes Change 3217253 on 2016/12/01 by Dmitry.Rekman Linux: fix GL crash (UE-17649). - Making sure all streams are set up. Fix by Cengiz. Change 3217473 on 2016/12/01 by Daniel.Lamb Fixed a case when we load a map it might not have it's sublevels loaded because it's not treated like a map. #test cook run QAGame Change 3217588 on 2016/12/01 by Peter.Sauerbrei Pull in IPv6 fix Change 3217654 on 2016/12/01 by Michael.Trepka Changed the Mac-specific high DPI code to use system backingScaleFactor only if NSHighResolutionCapable in Info.plist is set to true. This solves the problem with macOS Sierra giving us actual backingScaleFactor values even in low DPI modes. Change 3217873 on 2016/12/01 by Josh.Adams - Added some logging to a tvOS assert, since debugging it right away is tricky Change 3218097 on 2016/12/01 by Josh.Adams - Fixed up the Switch MediaFramework, making editor better, etc - ALso changed PS4 and Xbox plugins to be enabled by default by having two entries in the plugin module for the Factory modules (an editor only entry, and a platform specific runtime entry... this will make it so that UE4Game.exe won't ahve it compiled in, even with it enabled by default) Change 3218133 on 2016/12/01 by Dmitry.Rekman Linux: report server hangs by crashing the hung thread (UE-39164). Change 3218512 on 2016/12/01 by Josh.Adams - Made the MfMedia plugin to be distributable in public builds, since it's for Windows and Xbox Change 3219804 on 2016/12/02 by Dmitry.Rekman Linux: fix project settings crash (UE-38800). - Also submitted as a pull request #2945. Change 3220027 on 2016/12/02 by Nick.Shin plow all physx libs into build NOTE: most browsers will not function - chrome and firefox nightly only works checking this in as per email #jira UE-38323 VehicleTemplate Vehicle does not move in HTML5 Change 3221620 on 2016/12/05 by Joe.Barnes UE-37275 - Temporary workaround for log lines losing carriage returns. Add's a \n when outputting lines if there isn't one at the end. Change 3221689 on 2016/12/05 by Dmitry.Rekman Attempt to change/rename. Change 3221700 on 2016/12/05 by Dmitry.Rekman Another attempt to change renamed file (from Linux). Change 3221731 on 2016/12/05 by Michael.Trepka Added missing initialization for FAvfVideoSampler::MetalTextureCache #jira UE-38689 Change 3221792 on 2016/12/05 by Michael.Trepka Fixed a crash in FMetalDynamicRHI::RHIAsyncReallocateTexture2D for PVRTC2 textures Change 3222675 on 2016/12/05 by Josh.Adams - Removed some resolution setting junk that was recently added to PlatformerGame - settings resolution on AppleTV is bad, it doesn't need to change resolution on non-desktop platforms #jira UE-39188 Change 3223546 on 2016/12/06 by Brent.Pease + Properly set and use the realtime compression for ios. + Reduce unused memory on ios from the precached first buffer + Fix a resource tracking issue that was causing a double free on the sound buffer Change 3223785 on 2016/12/06 by Brent.Pease + Add support for iPhone7 (implemented by peter.sauerbrei, merged in from WEX) #jira ue-38701 Change 3224314 on 2016/12/06 by Chris.Babcock Send OnTargetPlatformChangedSupportedFormats when format changed in Android project settings in editor #jira UE-38361 #ue4 #android Change 3225367 on 2016/12/07 by Josh.Adams - Added FKey::Virtual_Accept and Virtual_Back, which will map to FaceButton Right/Down appropriately based on platform (Switch swaps them) - Made changes to ShooterGame and VehicleGame for Virtual_Accept and Back - Added some icons for ShooterGame, and changed some text blocks to SRichTextBlock to insert the icons Change 3225426 on 2016/12/07 by Chris.Babcock Add missing Android UPL file for binary builds #jira UE-39420 #ue4 #android Change 3225471 on 2016/12/07 by Dmitry.Rekman Update all platforms to C++14. Change 3225525 on 2016/12/07 by Nick.Shin Cook-On-The-Fly for HTML5 - re-enabled: ENetworkFileServerProtocol::NFSP_Http - cleaned up port numbers used with cook-on-the-fly situations - fixed null_ptr in NetworkFileServerHttp.cpp - fix CORS issue with HTML5LaunchHelper (not really needed -- but doesn't hurt to have it in the test server) - finally, the core of the jira issue: o fix serialization bug: do not append zero sized data o fix de-serialization bug: removed double insertion of packet "Marker and Size" header #jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size Change 3225690 on 2016/12/07 by Dmitry.Rekman Linux: improvements in touch support. - Multiple fingers. - Filtering out "moved" events from the same location. - Consistent logging. (Edigrating 3225194 from Wombat to Dev-Platform) Change 3225868 on 2016/12/07 by Josh.Stoddard Gracefully handle delete without matching new on iOS & Mac #jira UE-39395 Change 3226159 on 2016/12/07 by Omar.Rodriguez UEPLAT-1423 WEX: Improved virtual keyboard for Android * Renamed old virtual keyboard functions by adding "Dialog" suffix to the name * Added new virtual keyboard functions that use InputMethodManager to show/hide keyboard * Hide the virtual keyboard, if shown, onPause * Slate edit box decides which functions to call for showing/hiding keyboard - eventually will be based on command line parameter like in IOS #jira UEPLAT-1423 Change 3226167 on 2016/12/07 by Dmitry.Rekman Allow running as root on ARM. (Edigrating 3204974 to Dev-Platform) Change 3226168 on 2016/12/07 by Dmitry.Rekman Print current CVar value when denying an override. (Based on CL 3205476). Change 3226169 on 2016/12/07 by Dmitry.Rekman Allow enabling sound (if disabled by default). (Based on CL 3205505) Change 3226171 on 2016/12/07 by Dmitry.Rekman Allow running from symlinks. (Edigrating 3205518 to Dev-Platform). Change 3226174 on 2016/12/07 by Dmitry.Rekman Linux: do not init SDL audio (we do not use it anyway). (Based on CL 3205505). Change 3226327 on 2016/12/07 by Nick.Shin fix CIS warning #jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size Change 3226506 on 2016/12/08 by Dmitry.Rekman Fix one more case-sensitive misspelling (UE-39030). - Submitted as part of PR #2976. Change 3226542 on 2016/12/08 by Dmitry.Rekman Linux: fix weirdness with tesselation in GL4 (UE-32865). - Workaround by CengizT. Proper fix tracked as UE-39489. Change 3226570 on 2016/12/08 by Dmitry.Rekman Fix for ar failing due to too long command line (UE-39009). - Based on PR #2973. Change 3226575 on 2016/12/08 by Dmitry.Rekman Add build-essential to dependencies (UE-39053). - PR #2981 contributed by cpyarger. Change 3227129 on 2016/12/08 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Fixed up a deferred GL error as well Fixed some copyrights of files not in main Change 3227260 on 2016/12/08 by Omar.Rodriguez UE-39140 Projects with iCloud are failing provisioning check when code signing. * Set default value of bEnableCloudKitSupport to False * Set value of get-task-allow to true only on non-distribution builds * Only write out the entitlements file if changes have been made #jira UE-39140 Change 3229312 on 2016/12/09 by Dmitry.Rekman Fix missing responses (UE-39572). - Proper implementation of UE-39009. Change 3230849 on 2016/12/12 by Dmitry.Rekman Linux: fixed Android packaging (UE-39635). - Misspelled case; fixed by JohnHenry Carawon. #jira UE-39635 Change 3231591 on 2016/12/12 by Peter.Sauerbrei fix for splash screen not being turned off by default #jira UE-39591 Change 3231880 on 2016/12/12 by Josh.Adams - Fixing StaticAnalysis warnings, but -enablecodeanalysis stopped working for some reason, and the /Zm thing has hit me really hard, so this is a hopeful checkin for static analysis issues #jira UE-39680 Change 3232816 on 2016/12/13 by Dmitry.Rekman Linux: fix for CEF (UE-39682) - Fix by Cengiz.Terzibas. Change 3232873 on 2016/12/13 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3232933 on 2016/12/13 by Josh.Adams - Missed the files that were needed to fix up after merge from main, but didn';t come from main Change 3233066 on 2016/12/13 by Ben.Marsh UBT: Ignore exception if PATH variable contains invalid characters when looking for XGE. Change 3233512 on 2016/12/13 by Ben.Marsh Fix static analysis warnings. [CL 3233813 by Josh Adams in Main branch]
2016-12-13 19:47:16 -05:00
bDisableAudioCaching = true; // Do not allow DTYPE_Native buffers, only DTYPE_RealTime or DTYPE_Streaming since on the fly decompression is so cheap, it saves memory, and requires fewer code paths
}
bool FIOSAudioDevice::Exec(UWorld* InWorld, const TCHAR* Cmd, FOutputDevice& Ar)
{
if (FParse::Command(&Cmd, TEXT("DumpAUGraph")) && AudioUnitGraph)
{
CAShow(AudioUnitGraph);
return true;
}
return FAudioDevice::Exec(InWorld, Cmd, Ar);
}
FAudioPlatformSettings FIOSAudioDevice::GetPlatformSettings() const
{
return FAudioPlatformSettings::GetPlatformSettings(FPlatformProperties::GetRuntimeSettingsClassName());
}
bool FIOSAudioDevice::InitializeHardware()
{
UE_LOG(LogIOSAudio, Warning, TEXT("Initializing legacy audio backend for iOS"));
SIZE_T SampleSize = sizeof(AudioSampleType);
double GraphSampleRate = 44100.0;
if (!SetHardwareSampleRate(GraphSampleRate) || !SetAudioSessionActive(true))
{
HandleError(TEXT("Failed to establish the audio session!"));
return false;
}
// Retrieve the actual hardware sample rate
GetHardwareSampleRate(GraphSampleRate);
// Linear PCM stream format
MixerFormat.mFormatID = kAudioFormatLinearPCM;
MixerFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagsNativeEndian | kAudioFormatFlagIsPacked;
MixerFormat.mBytesPerPacket = SampleSize;
MixerFormat.mFramesPerPacket = 1;
MixerFormat.mBytesPerFrame = SampleSize;
MixerFormat.mChannelsPerFrame = 1;
MixerFormat.mBitsPerChannel = 8 * SampleSize;
MixerFormat.mSampleRate = GraphSampleRate;
OSStatus Status = NewAUGraph(&AudioUnitGraph);
if (Status != noErr)
{
HandleError(TEXT("Failed to create audio unit graph!"));
return false;
}
AudioComponentDescription UnitDescription;
// Setup audio output unit
UnitDescription.componentType = kAudioUnitType_Output;
UnitDescription.componentSubType = kAudioUnitSubType_RemoteIO;
UnitDescription.componentManufacturer = kAudioUnitManufacturer_Apple;
UnitDescription.componentFlags = 0;
UnitDescription.componentFlagsMask = 0;
Status = AUGraphAddNode(AudioUnitGraph, &UnitDescription, &OutputNode);
if (Status != noErr)
{
HandleError(TEXT("Failed to initialize audio output node!"), true);
return false;
}
// Setup audo mixer unit
UnitDescription.componentType = kAudioUnitType_Mixer;
UnitDescription.componentSubType = kAudioUnitSubType_SpatialMixer;
UnitDescription.componentManufacturer = kAudioUnitManufacturer_Apple;
UnitDescription.componentFlags = 0;
UnitDescription.componentFlagsMask = 0;
Status = AUGraphAddNode(AudioUnitGraph, &UnitDescription, &MixerNode);
if (Status != noErr)
{
HandleError(TEXT("Failed to initialize audio mixer node!"), true);
return false;
}
Status = AUGraphOpen(AudioUnitGraph);
if (Status != noErr)
{
HandleError(TEXT("Failed to open audio unit graph"), true);
return false;
}
Status = AUGraphNodeInfo(AudioUnitGraph, OutputNode, NULL, &OutputUnit);
if (Status != noErr)
{
HandleError(TEXT("Failed to retrieve output unit reference!"), true);
OutputUnit = NULL;
return false;
}
Status = AUGraphNodeInfo(AudioUnitGraph, MixerNode, NULL, &MixerUnit);
if (Status != noErr)
{
HandleError(TEXT("Failed to retrieve mixer unit reference!"), true);
MixerUnit = NULL;
return false;
}
uint32 BusCount = GetMaxSources() * CHANNELS_PER_BUS;
Status = AudioUnitSetProperty(MixerUnit,
kAudioUnitProperty_ElementCount,
kAudioUnitScope_Input,
0,
&BusCount,
sizeof(BusCount));
if (Status != noErr)
{
HandleError(TEXT("Failed to set kAudioUnitProperty_ElementCount for audio mixer unit!"), true);
return false;
}
// Initialize sound source early on, allowing for render callback hookups
InitSoundSources();
// Setup the mixer unit sample rate
Status = AudioUnitSetProperty(MixerUnit,
kAudioUnitProperty_SampleRate,
kAudioUnitScope_Output,
0,
&GraphSampleRate,
sizeof(GraphSampleRate));
if (Status != noErr)
{
HandleError(TEXT("Failed to set kAudioUnitProperty_SampleRate for audio mixer unit!"), true);
return false;
}
// Connect mixer node output to output node input
Status = AUGraphConnectNodeInput(AudioUnitGraph, MixerNode, 0, OutputNode, 0);
if (Status != noErr)
{
HandleError(TEXT("Failed to connect mixer node to output node!"), true);
return false;
}
// Initialize and start the audio unit graph
Status = AUGraphInitialize(AudioUnitGraph);
if (Status == noErr && SuspendCounter == 0)
{
Status = AUGraphStart(AudioUnitGraph);
}
if (Status != noErr)
{
HandleError(TEXT("Failed to start audio graph!"), true);
return false;
}
return true;
}
void FIOSAudioDevice::TeardownHardware()
{
if (AudioUnitGraph)
{
AUGraphStop(AudioUnitGraph);
DisposeAUGraph(AudioUnitGraph);
AudioUnitGraph = NULL;
OutputNode = -1;
OutputUnit = NULL;
MixerNode = -1;
MixerUnit = NULL;
}
}
void FIOSAudioDevice::UpdateHardware()
{
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
const FListener& Listener = GetListeners()[0];
PlayerLocation = Listener.Transform.GetLocation();
PlayerFacing = Listener.GetFront();
PlayerUp = Listener.GetUp();
PlayerRight = Listener.GetRight();
}
void FIOSAudioDevice::HandleError(const TCHAR* InLogOutput, bool bTeardown)
{
UE_LOG(LogIOSAudio, Log, TEXT("%s"), InLogOutput);
if (bTeardown)
{
Teardown();
}
}
FAudioEffectsManager* FIOSAudioDevice::CreateEffectsManager()
{
// Create the basic no-op effects manager
return FAudioDevice::CreateEffectsManager();
}
FSoundSource* FIOSAudioDevice::CreateSoundSource()
{
return new FIOSAudioSoundSource(this, NextBusNumber++);
}