mirror of
https://github.com/starr-dusT/citra.git
synced 2024-10-02 10:26:17 -07:00

* audio_core: dsp_hle: implements fdk_aac decoder * audio_core: dsp_hle: clean up and add comments * audio_core: dsp_hle: move fdk include to cpp file * audio_core: dsp_hle: detects broken fdk_aac... ... and refuses to initialize if that's the case * audio_core: dsp_hle: fdk_aac: address comments... ... and rebase commits * fdk_decoder: move fdk header to cpp file
24 lines
562 B
C++
24 lines
562 B
C++
// Copyright 2019 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 FDKDecoder final : public DecoderBase {
|
|
public:
|
|
explicit FDKDecoder(Memory::MemorySystem& memory);
|
|
~FDKDecoder() override;
|
|
std::optional<BinaryResponse> ProcessRequest(const BinaryRequest& request) override;
|
|
bool IsValid() const override;
|
|
|
|
private:
|
|
class Impl;
|
|
std::unique_ptr<Impl> impl;
|
|
};
|
|
|
|
} // namespace AudioCore::HLE
|