2023-05-09 16:35:49 -07:00
|
|
|
// Copyright 2023 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 {
|
|
|
|
|
|
|
|
class AudioToolboxDecoder final : public DecoderBase {
|
|
|
|
public:
|
|
|
|
explicit AudioToolboxDecoder(Memory::MemorySystem& memory);
|
|
|
|
~AudioToolboxDecoder() override;
|
2023-05-14 22:25:10 +05:30
|
|
|
std::optional<BinaryMessage> ProcessRequest(const BinaryMessage& request) override;
|
2023-05-09 16:35:49 -07:00
|
|
|
bool IsValid() const override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
class Impl;
|
|
|
|
std::unique_ptr<Impl> impl;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace AudioCore::HLE
|