2023-05-10 01:35:49 +02: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 18:55:10 +02:00
|
|
|
std::optional<BinaryMessage> ProcessRequest(const BinaryMessage& request) override;
|
2023-05-10 01:35:49 +02:00
|
|
|
bool IsValid() const override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
class Impl;
|
|
|
|
std::unique_ptr<Impl> impl;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace AudioCore::HLE
|