2021-12-10 20:37:31 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "IAudioParameterInterfaceRegistry.h"
|
|
|
|
|
#include "MetasoundFrontendDocument.h"
|
2021-12-15 23:11:10 -05:00
|
|
|
#include "MetasoundFrontendTransform.h"
|
2021-12-10 20:37:31 -05:00
|
|
|
#include "UObject/NameTypes.h"
|
2021-12-15 23:11:10 -05:00
|
|
|
//#include "MetasoundEngineArchetypes.h"
|
|
|
|
|
#include "MetasoundFrontendController.h"
|
2021-12-10 20:37:31 -05:00
|
|
|
// Forward Declarations
|
|
|
|
|
struct FMetasoundFrontendVersion;
|
|
|
|
|
|
|
|
|
|
namespace Metasound
|
|
|
|
|
{
|
|
|
|
|
namespace Frontend
|
|
|
|
|
{
|
2021-12-15 23:11:10 -05:00
|
|
|
namespace SourceOneShotInterface
|
|
|
|
|
{
|
|
|
|
|
namespace Outputs
|
|
|
|
|
{
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName OnFinished;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
METASOUNDFRONTEND_API const FMetasoundFrontendVersion& GetVersion();
|
|
|
|
|
METASOUNDFRONTEND_API Audio::FParameterInterfacePtr CreateInterface(const UClass& InClass);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace SourceInterfaceV1_0
|
2021-12-10 20:37:31 -05:00
|
|
|
{
|
|
|
|
|
namespace Inputs
|
|
|
|
|
{
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName OnPlay;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Outputs
|
|
|
|
|
{
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName OnFinished;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Environment
|
|
|
|
|
{
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName DeviceID;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName GraphName;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName IsPreview;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName SoundUniqueID;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName TransmitterID;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
METASOUNDFRONTEND_API const FMetasoundFrontendVersion& GetVersion();
|
|
|
|
|
METASOUNDFRONTEND_API Audio::FParameterInterfacePtr CreateInterface(const UClass& InClass);
|
|
|
|
|
}
|
2021-12-15 23:11:10 -05:00
|
|
|
|
|
|
|
|
namespace SourceInterface
|
|
|
|
|
{
|
|
|
|
|
namespace Inputs
|
|
|
|
|
{
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName OnPlay;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Environment
|
|
|
|
|
{
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName DeviceID;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName GraphName;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName IsPreview;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName SoundUniqueID;
|
|
|
|
|
METASOUNDFRONTEND_API const extern FName TransmitterID;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
METASOUNDFRONTEND_API const FMetasoundFrontendVersion& GetVersion();
|
|
|
|
|
METASOUNDFRONTEND_API Audio::FParameterInterfacePtr CreateInterface(const UClass& InClass);
|
|
|
|
|
|
|
|
|
|
class METASOUNDFRONTEND_API FUpdateInterface : public Frontend::IDocumentTransform
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual bool Transform(Frontend::FDocumentHandle InDocument) const override;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-10 20:37:31 -05:00
|
|
|
} // namespace Frontend
|
|
|
|
|
} // namespace Metasound
|