2018-12-09 22:25:45 +01:00
|
|
|
// Copyright 2018 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "audio_core/hle/decoder.h"
|
|
|
|
|
|
|
|
namespace AudioCore::HLE {
|
|
|
|
|
2019-01-05 01:06:12 +01:00
|
|
|
class FFMPEGDecoder final : public DecoderBase {
|
2018-12-09 22:25:45 +01:00
|
|
|
public:
|
2019-01-05 01:06:12 +01:00
|
|
|
explicit FFMPEGDecoder(Memory::MemorySystem& memory);
|
|
|
|
~FFMPEGDecoder() override;
|
2018-12-09 22:25:45 +01:00
|
|
|
std::optional<BinaryResponse> ProcessRequest(const BinaryRequest& request) override;
|
2019-12-08 22:19:19 +01:00
|
|
|
bool IsValid() const override;
|
2018-12-09 22:25:45 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
class Impl;
|
|
|
|
std::unique_ptr<Impl> impl;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace AudioCore::HLE
|