2018-12-06 13:14:54 +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/dsp_interface.h"
|
|
|
|
|
|
|
|
namespace AudioCore {
|
|
|
|
|
|
|
|
class DspLle final : public DspInterface {
|
|
|
|
public:
|
|
|
|
DspLle();
|
|
|
|
~DspLle();
|
|
|
|
|
2018-12-06 13:22:31 +01:00
|
|
|
u16 RecvData(u32 register_number) override;
|
2018-12-06 13:30:10 +01:00
|
|
|
bool RecvDataIsReady(u32 register_number) const override;
|
2018-12-06 13:35:07 +01:00
|
|
|
void SetSemaphore(u16 semaphore_value) override;
|
2018-12-06 13:42:07 +01:00
|
|
|
void PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer) override;
|
2018-12-06 13:22:31 +01:00
|
|
|
|
2018-12-06 13:14:54 +01:00
|
|
|
private:
|
|
|
|
struct Impl;
|
|
|
|
friend struct Impl;
|
|
|
|
std::unique_ptr<Impl> impl;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace AudioCore
|