Files
UnrealEngineUWP/Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/Interfaces/MetasoundDeprecatedInterfaces.h
rob gay cff304e9da Interface Registry Tidying
1.) Move Bindings to own registry
2.) Nuke source files & left over cruft relating to archetypes
3.) Move deprecated interface registration next to respective interfaces for clarity
4.) Rename "FMetasoundFrontendInterfaceBindingConnections" to "FMetasoundFrontendInterfaceVertexBindings"
#rb phil.popp
#preflight 640f6852d778f889752a5bd1

[CL 24622079 by rob gay in ue5-main branch]
2023-03-13 17:23:05 -04:00

105 lines
3.5 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MetasoundFrontendDocument.h"
#include "MetasoundFrontendTransform.h"
#include "MetasoundVertex.h"
// DEPRECATED: DeprecatedInterfaces that corrispond with archetypes
// that preceded the Interface System. Only remain for purposes of
// upgrading content generated prior to 5.0 release.
namespace Metasound::Engine
{
// Base interface without any required inputs or outputs (TODO: Version & Remove)
namespace MetasoundV1_0
{
const FMetasoundFrontendVersion& GetVersion();
FMetasoundFrontendInterface GetInterface();
}
// V1.0 of a Metasound Mono output format. Uses FMonoAudioFormat as output.
namespace MetasoundOutputFormatMonoV1_0
{
const FMetasoundFrontendVersion& GetVersion();
const FVertexName& GetAudioOutputName();
FMetasoundFrontendInterface GetInterface();
}
// V1.0 of a Metasound Stereo output format. Uses FStereoAudioFormat as output.
namespace MetasoundOutputFormatStereoV1_0
{
const FMetasoundFrontendVersion& GetVersion();
const FVertexName& GetAudioOutputName();
FMetasoundFrontendInterface GetInterface();
}
// V1.1 of a Metasound Mono output format. Uses FAudioBuffer as output.
namespace MetasoundOutputFormatMonoV1_1
{
const FMetasoundFrontendVersion& GetVersion();
const FVertexName& GetAudioOutputName();
FMetasoundFrontendInterface GetInterface();
class FUpdateInterface : public Frontend::IDocumentTransform
{
public:
virtual bool Transform(Frontend::FDocumentHandle InDocument) const override;
};
}
// V1.2 of a Metasound Mono output format.
// Deprecate path from MetasoundOutputFormatStereoV1_1 to SourceInterface & respective OutputFormatMonoInterface
namespace MetasoundOutputFormatMonoV1_2
{
const FMetasoundFrontendVersion& GetVersion();
FMetasoundFrontendInterface GetInterface();
class FUpdateInterface : public Frontend::IDocumentTransform
{
public:
virtual bool Transform(Frontend::FDocumentHandle InDocument) const override;
};
}
// V1.1 of a Metasound Stereo output format. Uses two FAudioBuffers as outputs.
namespace MetasoundOutputFormatStereoV1_1
{
const FMetasoundFrontendVersion& GetVersion();
const FVertexName& GetLeftAudioOutputName();
const FVertexName& GetRightAudioOutputName();
FMetasoundFrontendInterface GetInterface();
class FUpdateInterface : public Frontend::IDocumentTransform
{
public:
virtual bool Transform(Frontend::FDocumentHandle InDocument) const override;
};
}
// V1.2 of a Metasound Stereo output format. Uses two FAudioBuffers as outputs.
// Deprecate path from MetasoundOutputFormatStereoV1_1 to SourceInterface & respective OutputFormatStereoInterface
namespace MetasoundOutputFormatStereoV1_2
{
const FMetasoundFrontendVersion& GetVersion();
FMetasoundFrontendInterface GetInterface();
// Update from MetasoundOutputFormatStereoV1_0 to MetasoundOutputFormatStereoV1_1
class FUpdateInterface : public Frontend::IDocumentTransform
{
public:
virtual bool Transform(Frontend::FDocumentHandle InDocument) const override;
};
}
void RegisterDeprecatedInterfaces();
} // namespace Metasound::Engine