Skip to content

Commit

Permalink
Updated for UE ver 4.16
Browse files Browse the repository at this point in the history
Updated for UE ver 4.16
  • Loading branch information
kwstasg authored Jun 13, 2017
1 parent 2724ba5 commit bf8a98f
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 45 deletions.
Binary file not shown.
6 changes: 3 additions & 3 deletions WindowsAudioCapture/Binaries/Win64/UE4Editor.modules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Changelist" : 3416026,
"CompatibleChangelist" : 3299760,
"BuildId" : "84329c3f-5b18-4606-9bf0-f6ab785d15bc",
"Changelist" : 3466753,
"CompatibleChangelist" : 3452394,
"BuildId" : "7370d9bf-5485-48ce-aacb-446748b048bc",
"Modules" :
{
"WindowsAudioCapture" : "UE4Editor-WindowsAudioCapture.dll"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Boilerplate C++ definitions for a single module.
This is automatically generated by UnrealHeaderTool.
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/

#include "GeneratedCppIncludes.h"
#include "Public/WindowsAudioCapture.h"
#include "WindowsAudioCapture.generated.dep.h"
PRAGMA_DISABLE_OPTIMIZATION
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4883)
#endif
PRAGMA_DISABLE_DEPRECATION_WARNINGS
void EmptyLinkFunctionForGeneratedCode1WindowsAudioCapture() {}
void UWindowsAudioCaptureComponent::StaticRegisterNativesUWindowsAudioCaptureComponent()
{
FNativeFunctionRegistrar::RegisterFunction(UWindowsAudioCaptureComponent::StaticClass(), "BP_GetAverageBassValue",(Native)&UWindowsAudioCaptureComponent::execBP_GetAverageBassValue);
FNativeFunctionRegistrar::RegisterFunction(UWindowsAudioCaptureComponent::StaticClass(), "BP_GetAverageFrequencyValueInRange",(Native)&UWindowsAudioCaptureComponent::execBP_GetAverageFrequencyValueInRange);
FNativeFunctionRegistrar::RegisterFunction(UWindowsAudioCaptureComponent::StaticClass(), "BP_GetAverageSubBassValue",(Native)&UWindowsAudioCaptureComponent::execBP_GetAverageSubBassValue);
FNativeFunctionRegistrar::RegisterFunction(UWindowsAudioCaptureComponent::StaticClass(), "BP_GetFrequencyArray",(Native)&UWindowsAudioCaptureComponent::execBP_GetFrequencyArray);
FNativeFunctionRegistrar::RegisterFunction(UWindowsAudioCaptureComponent::StaticClass(), "BP_GetSpecificFrequencyValue",(Native)&UWindowsAudioCaptureComponent::execBP_GetSpecificFrequencyValue);
}
IMPLEMENT_CLASS(UWindowsAudioCaptureComponent, 345857000);
#if USE_COMPILED_IN_NATIVES
// Cross Module References
ENGINE_API class UClass* Z_Construct_UClass_UActorComponent();
Expand All @@ -32,6 +26,18 @@ void EmptyLinkFunctionForGeneratedCode1WindowsAudioCapture() {}
WINDOWSAUDIOCAPTURE_API class UClass* Z_Construct_UClass_UWindowsAudioCaptureComponent_NoRegister();
WINDOWSAUDIOCAPTURE_API class UClass* Z_Construct_UClass_UWindowsAudioCaptureComponent();
WINDOWSAUDIOCAPTURE_API class UPackage* Z_Construct_UPackage__Script_WindowsAudioCapture();
void UWindowsAudioCaptureComponent::StaticRegisterNativesUWindowsAudioCaptureComponent()
{
UClass* Class = UWindowsAudioCaptureComponent::StaticClass();
static const TNameNativePtrPair<ANSICHAR> AnsiFuncs[] = {
{ "BP_GetAverageBassValue", (Native)&UWindowsAudioCaptureComponent::execBP_GetAverageBassValue },
{ "BP_GetAverageFrequencyValueInRange", (Native)&UWindowsAudioCaptureComponent::execBP_GetAverageFrequencyValueInRange },
{ "BP_GetAverageSubBassValue", (Native)&UWindowsAudioCaptureComponent::execBP_GetAverageSubBassValue },
{ "BP_GetFrequencyArray", (Native)&UWindowsAudioCaptureComponent::execBP_GetFrequencyArray },
{ "BP_GetSpecificFrequencyValue", (Native)&UWindowsAudioCaptureComponent::execBP_GetSpecificFrequencyValue },
};
FNativeFunctionRegistrar::RegisterFunctions(Class, AnsiFuncs, 5);
}
UFunction* Z_Construct_UFunction_UWindowsAudioCaptureComponent_BP_GetAverageBassValue()
{
struct WindowsAudioCaptureComponent_eventBP_GetAverageBassValue_Parms
Expand Down Expand Up @@ -216,6 +222,8 @@ void EmptyLinkFunctionForGeneratedCode1WindowsAudioCapture() {}
OuterClass->AddFunctionToFunctionMapWithOverriddenName(Z_Construct_UFunction_UWindowsAudioCaptureComponent_BP_GetAverageSubBassValue(), "BP_GetAverageSubBassValue"); // 3847257641
OuterClass->AddFunctionToFunctionMapWithOverriddenName(Z_Construct_UFunction_UWindowsAudioCaptureComponent_BP_GetFrequencyArray(), "BP_GetFrequencyArray"); // 3854392994
OuterClass->AddFunctionToFunctionMapWithOverriddenName(Z_Construct_UFunction_UWindowsAudioCaptureComponent_BP_GetSpecificFrequencyValue(), "BP_GetSpecificFrequencyValue"); // 1637369946
static TCppClassTypeInfo<TCppClassTypeTraits<UWindowsAudioCaptureComponent> > StaticCppClassTypeInfo;
OuterClass->SetCppTypeInfo(&StaticCppClassTypeInfo);
OuterClass->StaticLink();
#if WITH_METADATA
UMetaData* MetaData = OuterClass->GetOutermost()->GetMetaData();
Expand All @@ -231,17 +239,18 @@ void EmptyLinkFunctionForGeneratedCode1WindowsAudioCapture() {}
check(OuterClass->GetClass());
return OuterClass;
}
static FCompiledInDefer Z_CompiledInDefer_UClass_UWindowsAudioCaptureComponent(Z_Construct_UClass_UWindowsAudioCaptureComponent, &UWindowsAudioCaptureComponent::StaticClass, TEXT("UWindowsAudioCaptureComponent"), false, nullptr, nullptr, nullptr);
IMPLEMENT_CLASS(UWindowsAudioCaptureComponent, 3125659910);
static FCompiledInDefer Z_CompiledInDefer_UClass_UWindowsAudioCaptureComponent(Z_Construct_UClass_UWindowsAudioCaptureComponent, &UWindowsAudioCaptureComponent::StaticClass, TEXT("/Script/WindowsAudioCapture"), TEXT("UWindowsAudioCaptureComponent"), false, nullptr, nullptr, nullptr);
DEFINE_VTABLE_PTR_HELPER_CTOR(UWindowsAudioCaptureComponent);
UPackage* Z_Construct_UPackage__Script_WindowsAudioCapture()
{
static UPackage* ReturnPackage = NULL;
static UPackage* ReturnPackage = nullptr;
if (!ReturnPackage)
{
ReturnPackage = CastChecked<UPackage>(StaticFindObjectFast(UPackage::StaticClass(), NULL, FName(TEXT("/Script/WindowsAudioCapture")), false, false));
ReturnPackage = CastChecked<UPackage>(StaticFindObjectFast(UPackage::StaticClass(), nullptr, FName(TEXT("/Script/WindowsAudioCapture")), false, false));
ReturnPackage->SetPackageFlags(PKG_CompiledIn | 0x00000080);
FGuid Guid;
Guid.A = 0xCE33A446;
Guid.A = 0x1CEF2D12;
Guid.B = 0xE81968EA;
Guid.C = 0x00000000;
Guid.D = 0x00000000;
Expand All @@ -251,5 +260,8 @@ void EmptyLinkFunctionForGeneratedCode1WindowsAudioCapture() {}
return ReturnPackage;
}
#endif

PRAGMA_ENABLE_DEPRECATION_WARNINGS
#ifdef _MSC_VER
#pragma warning (pop)
#endif
PRAGMA_ENABLE_OPTIMIZATION
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Boilerplate C++ definitions for a single module.
This is automatically generated by UnrealHeaderTool.
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
C++ class boilerplate exported from UnrealHeaderTool.
This is automatically generated by the tools.
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/

#pragma once


Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
C++ class header boilerplate exported from UnrealHeaderTool.
This is automatically generated by the tools.
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/

#include "ObjectMacros.h"
#include "ScriptMacros.h"

PRAGMA_DISABLE_DEPRECATION_WARNINGS
#ifdef WINDOWSAUDIOCAPTURE_WindowsAudioCaptureComponent_generated_h
#error "WindowsAudioCaptureComponent.generated.h already included, missing '#pragma once' in WindowsAudioCaptureComponent.h"
Expand Down Expand Up @@ -128,24 +130,22 @@ PRAGMA_DISABLE_DEPRECATION_WARNINGS


#define HostProject_Plugins_WindowsAudioCapture_Source_WindowsAudioCapture_Public_WindowsAudioCaptureComponent_h_15_INCLASS_NO_PURE_DECLS \
private: \
private: \
static void StaticRegisterNativesUWindowsAudioCaptureComponent(); \
friend WINDOWSAUDIOCAPTURE_API class UClass* Z_Construct_UClass_UWindowsAudioCaptureComponent(); \
public: \
public: \
DECLARE_CLASS(UWindowsAudioCaptureComponent, UActorComponent, COMPILED_IN_FLAGS(0), 0, TEXT("/Script/WindowsAudioCapture"), NO_API) \
DECLARE_SERIALIZER(UWindowsAudioCaptureComponent) \
/** Indicates whether the class is compiled into the engine */ \
enum {IsIntrinsic=COMPILED_IN_INTRINSIC};


#define HostProject_Plugins_WindowsAudioCapture_Source_WindowsAudioCapture_Public_WindowsAudioCaptureComponent_h_15_INCLASS \
private: \
private: \
static void StaticRegisterNativesUWindowsAudioCaptureComponent(); \
friend WINDOWSAUDIOCAPTURE_API class UClass* Z_Construct_UClass_UWindowsAudioCaptureComponent(); \
public: \
public: \
DECLARE_CLASS(UWindowsAudioCaptureComponent, UActorComponent, COMPILED_IN_FLAGS(0), 0, TEXT("/Script/WindowsAudioCapture"), NO_API) \
DECLARE_SERIALIZER(UWindowsAudioCaptureComponent) \
/** Indicates whether the class is compiled into the engine */ \
enum {IsIntrinsic=COMPILED_IN_INTRINSIC};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ bool FAudioCaptureWorker::Init()
// Make sure the Worker is marked is not finished
bIsFinished = false;

GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::Printf(TEXT("**********************************")));
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::Printf(TEXT(" Plugin by KwstasG")));
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::Printf(TEXT(" Windows Audio Capture")));
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::Printf(TEXT("**********************************")));

return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,5 @@ public WindowsAudioCapture(TargetInfo Target)
}
);

if (Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Win32)
{
if (WindowsPlatform.Compiler == WindowsCompiler.VisualStudio2015)
{
PublicAdditionalLibraries.Add("legacy_stdio_definitions.lib");
}
}

AddEngineThirdPartyPrivateStaticDependencies(Target, "Kiss_FFT");
}
}
1 change: 1 addition & 0 deletions WindowsAudioCapture/WindowsAudioCapture.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"DocsURL" : "",
"MarketplaceURL" : "",
"SupportURL" : "mailto:[email protected]",
"EngineVersion" : "4.16.0",
"CanContainContent" : false,
"IsBetaVersion" : false,
"Installed" : true,
Expand Down

0 comments on commit bf8a98f

Please sign in to comment.