mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-11-16 12:13:44 +00:00
963aedd8cc
Previously there was a split where some of the services were in the Service namespace and others were not.
36 lines
748 B
C++
36 lines
748 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace DSP {
|
|
namespace HLE {
|
|
enum class DspPipe;
|
|
}
|
|
}
|
|
|
|
namespace Service {
|
|
namespace DSP_DSP {
|
|
|
|
class Interface final : public Service::Interface {
|
|
public:
|
|
Interface();
|
|
~Interface() override;
|
|
|
|
std::string GetPortName() const override {
|
|
return "dsp::DSP";
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Signal a specific DSP related interrupt of type == InterruptType::Pipe, pipe == pipe.
|
|
* @param pipe The DSP pipe for which to signal an interrupt for.
|
|
*/
|
|
void SignalPipeInterrupt(DSP::HLE::DspPipe pipe);
|
|
|
|
} // namespace DSP_DSP
|
|
} // namespace Service
|