You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Introduce TSharedPtr<Audio::IProxyData> CreateProxyData() Fix up deprecated callsites. #jira UE-162062 #rb Rob.Gay #fyi Miles.Flanagan #preflight 639a0f262960b732207fc1e3 [CL 23515287 by phil popp in ue5-main branch]
21 lines
458 B
C++
21 lines
458 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MetasoundAudioBus.h"
|
|
|
|
#include "AudioDevice.h"
|
|
#include "DecoderInputFactory.h"
|
|
|
|
namespace Metasound
|
|
{
|
|
FAudioBusAsset::FAudioBusAsset(const TSharedPtr<Audio::IProxyData>& InInitData)
|
|
{
|
|
if (InInitData.IsValid())
|
|
{
|
|
if (InInitData->CheckTypeCast<FAudioBusProxy>())
|
|
{
|
|
AudioBusProxy = MakeShared<FAudioBusProxy, ESPMode::ThreadSafe>(InInitData->GetAs<FAudioBusProxy>());
|
|
}
|
|
}
|
|
}
|
|
}
|