2020-07-14 17:58:13 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
#include "MetasoundEngineModule.h"
|
|
|
|
|
|
2020-07-15 00:16:40 -04:00
|
|
|
#include "Metasound.h"
|
2020-07-23 20:32:26 -04:00
|
|
|
#include "MetasoundSource.h"
|
2020-07-15 00:01:50 -04:00
|
|
|
#include "Modules/ModuleManager.h"
|
2020-07-14 17:58:13 -04:00
|
|
|
|
2020-07-15 00:16:40 -04:00
|
|
|
|
2020-07-14 17:58:13 -04:00
|
|
|
DEFINE_LOG_CATEGORY(LogMetasoundEngine);
|
|
|
|
|
|
|
|
|
|
class FMetasoundEngineModule : public IMetasoundEngineModule
|
|
|
|
|
{
|
|
|
|
|
virtual void StartupModule() override
|
|
|
|
|
{
|
2020-07-23 20:32:26 -04:00
|
|
|
Metasound::Frontend::RegisterArchetype<UMetasoundSource>();
|
|
|
|
|
Metasound::Frontend::RegisterArchetype<UMetasound>();
|
|
|
|
|
|
2020-07-14 17:58:13 -04:00
|
|
|
UE_LOG(LogMetasoundEngine, Log, TEXT("Metasound Engine Initialized"));
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_MODULE(FMetasoundEngineModule, MetasoundEngine);
|