You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb ethan.geller, aaron.mcleran,phill.Popp #jira UEAU-503 #jira UEAU-504 #jira UEAU-505 [CL 13926440 by jimmy smith in ue5-main branch]
36 lines
646 B
C++
36 lines
646 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "HAL/Platform.h"
|
|
#include "Templates/SharedPointer.h"
|
|
|
|
namespace Audio
|
|
{
|
|
struct IDecoderInput;
|
|
struct IDecoderOutput;
|
|
|
|
class FActiveDecodeHandle
|
|
{
|
|
uint32 Id;
|
|
public:
|
|
FActiveDecodeHandle(uint32 InId)
|
|
: Id(InId)
|
|
{}
|
|
bool IsValid() const { return Id != 0; }
|
|
};
|
|
|
|
struct IDecoderScheduler
|
|
{
|
|
static IDecoderScheduler& Get();
|
|
|
|
struct FStartDecodeArgs
|
|
{
|
|
uint32 StartingFrame = 0;
|
|
TSharedPtr<IDecoderInput> InputObject;
|
|
TSharedPtr<IDecoderOutput> OutputObject;
|
|
};
|
|
|
|
virtual FActiveDecodeHandle StartDecode(
|
|
FStartDecodeArgs&& ) = 0;
|
|
};
|
|
} |