You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb alfaroh.corney jake.burga #jira none #preflight 6477eaae1c5c2b3fa2e4e53d [CL 25770939 by jimmy smith in ue5-main branch]
27 lines
546 B
C++
27 lines
546 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "DecoderInputFactory.h"
|
|
#include "DecoderInputBackCompat.h"
|
|
#include "IAudioCodec.h"
|
|
#include "Sound/SoundWave.h"
|
|
|
|
namespace Audio
|
|
{
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
|
|
|
TUniquePtr<Audio::IDecoderInput> CreateBackCompatDecoderInput(
|
|
FName InOldFormatName,
|
|
const FSoundWaveProxyPtr& InSoundWave)
|
|
{
|
|
if (ensure(InSoundWave.IsValid()))
|
|
{
|
|
return MakeUnique<FBackCompatInput>(InOldFormatName, InSoundWave);
|
|
}
|
|
|
|
return nullptr;
|
|
}
|
|
|
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
|
}
|