2021-04-29 19:32:06 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "HAL/Platform.h"
|
|
|
|
|
|
|
|
|
|
#if PLATFORM_WINDOWS
|
|
|
|
|
|
|
|
|
|
#include "AudioEncoderFactory.h"
|
|
|
|
|
|
|
|
|
|
namespace AVEncoder
|
|
|
|
|
{
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
class FWmfAudioEncoderFactory : public FAudioEncoderFactory
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
FWmfAudioEncoderFactory();
|
|
|
|
|
~FWmfAudioEncoderFactory() override;
|
|
|
|
|
const TCHAR* GetName() const override;
|
|
|
|
|
TArray<FString> GetSupportedCodecs() const override;
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
TUniquePtr<FAudioEncoder> CreateEncoder(const FString& Codec) override;
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
private:
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif //PLATFORM_WINDOWS
|
|
|
|
|
|