2020-09-08 18:12:55 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2021-03-03 13:19:43 -04:00
|
|
|
#include "Templates/SharedPointer.h"
|
|
|
|
|
#include "Templates/SharedPointerInternals.h"
|
2020-09-08 18:12:55 -04:00
|
|
|
#include "Templates/UniquePtr.h"
|
2021-03-01 13:39:42 -04:00
|
|
|
#include "AudioMixer.h"
|
2020-09-08 18:12:55 -04:00
|
|
|
|
|
|
|
|
// Forward declares.
|
|
|
|
|
class USoundWave;
|
2021-02-09 14:46:04 -04:00
|
|
|
class FSoundWaveProxy;
|
2020-09-08 18:12:55 -04:00
|
|
|
|
|
|
|
|
namespace Audio
|
|
|
|
|
{
|
|
|
|
|
// Forward declares.
|
|
|
|
|
struct IDecoderInput;
|
2021-03-01 15:18:56 -04:00
|
|
|
using FSoundWaveProxyPtr = TSharedPtr<FSoundWaveProxy, ESPMode::ThreadSafe>;
|
2020-09-08 18:12:55 -04:00
|
|
|
|
|
|
|
|
// Just loose for now.
|
2023-06-02 15:27:25 -04:00
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
2021-03-03 13:19:43 -04:00
|
|
|
AUDIOCODECENGINE_API TUniquePtr<IDecoderInput> CreateBackCompatDecoderInput(FName InOldFormatName, const FSoundWaveProxyPtr& InSoundWave);
|
2023-06-02 18:31:58 -04:00
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
2020-09-08 18:12:55 -04:00
|
|
|
}
|